Bluetrait

Loading
search


Posts:
Comments:

Popular posts

Click here if you are looking for Bluetrait, the weblog software.

Login:

Username:

Password:

scp

Posted by Michael Dale on Sun, 24 Jul 2005 7:50 PM

I needed to copy about 150mb of files between two computers and the only access I had was SSH. So I used Secure Copy (SCP). The syntax is as follows:

scp -rp backup/ user@remote.computer.tld:backup/

This recursively copies the entire folder (in this case backup/) and preserves modification times (add -C for compression) to the remote computer remote.computer.tld with the user name: user

You can also get a windows client here