Thursday, February 23, 2006

Using SCP to copy files

# scp source target

# scp joeshmoe@miles.shadlen.org:matlab/mfile.m matlab/

# scp example.m joeshmoe@miles.shadlen.org:unfinished/silly.m
------------------------------------------------------------------------------------------------------------------------
Copy directory ``/usr/local/share'' and its contents from your Linux file space to your own workstation:

#scp -r username@hostname.sl.valista.com:/usr/local/share .

(``.'' means copy the files to the current directory on your workstation. A new directory ``share'' will be created there containing copies of the files and directories in the server's ``share'').

No comments: