![]() To copy a folder instead of a file, we just need to add the recursive flag -r to the command. kafka-service/secrets.yml this command, we are copying secrets.yml file located in our local machine to /home/remote_username/kafka-service/secret/ folder located in the remote host 190.123.321.55. To do this, you can run the following command from your local machine. Let’s say we need to put in a secret file we use for local development in the remote host as that’s where our application will be running. Click Add to browse local volumes for items to copy, or drag files and folders to the list.Now, we are set to do a secure copy. Add files or folders to the “Items to copy” list. In Remote Desktop, select a computer list in the sidebar of the main window, select one or more computers, then choose Manage > Copy Items. How do I transfer files from remote desktop to local? ![]() If you want to copy a directory and its content, use the -r option, just like with cp. The simplest way to copy a file to or from a cluster is to use the scp command. sshpass -p ‘xxxxxxx’ scp /home/user1/*.* :/d/test/ How do I copy a file from a cluster to a local machine?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |