[The Computer Kid] Transfer Files Between Machines: SCP

0 views
Skip to first unread message

Conrad Sykes

unread,
May 22, 2013, 4:13:30 PM5/22/13
to the-comp...@googlegroups.com
If you want to transfer files between two Linux machines (or a remote Linux server), then you will want to use "SCP". scp can transfer single or multiple files, or even entire directories. To use the command simply type scp and then the location(s) of the file(s) you'd like to transfer (the sources) and then give a final location at the end of the command which is the destination. Below are a couple examples.

Transfer a file from local machine to remote host
$ scp fileToTransfer user@remotehost:/remote/directory
Transfer a file from remote hos to local machine
$ scp user@remotehost:fileToTransfer /local/directory
Note: if you want to do directories then include the -r flag.

--
Posted By Conrad Sykes to The Computer Kid at 5/22/2013 01:13:00 PM
Reply all
Reply to author
Forward
0 new messages