![]() When copying a source file to a target file that already exists, SCP will replace the contents of the target file. PowerShell lets you use more Unix/Linux commands. Although this page covers SCP Linux, the instructions will also work for Mac using “Terminal.” You can also use WinSCP to accomplish this on a Windows PC/server. Quick Tips Right-click PowerShell (or look for option when you search for it in Start menu panel). Once you click return, you will be prompted for an SSH password. Copy file from a remote host to local host SCP example: $ scp /local/directory/Ĭopy file from local host to a remote host SCP example: $ scp file.txt directory from a remote host to local host SCP example: $ scp /local/directory/Ĭopy directory from local host to a remote hos SCP example: $ scp -r /local/directory/ file from remote host to remote host SCP example: $ scp SCP example: scp -r /home/hydn/backups/test/ Also, see Backup solutions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |