Rudi Ahlers wrote:
scp is the easiest in this regard. It runs over SSH, so your data is secure - especially if it's over the open internet.

The commands are as follows: scp [EMAIL PROTECTED]:/home/user1/myfile .
...

and in fact, if /home/user1 is [EMAIL PROTECTED]'s home directory, that can be shortened to...

   $ scp [EMAIL PROTECTED]:myfile .

you can also copy the other way...

   $ scp myfile [EMAIL PROTECTED]:.

which would put it in [EMAIL PROTECTED]'s home directory...  or...

   $ scp -R .  [EMAIL PROTECTED]:/remote/path

would copy ALL files and subdirectories from the current directory to /remote/path on otherhost...

`man scp` for lots more options...


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Reply via email to