Using scp to copy files from remote to home machine

Secure Copy (scp)

To copy a file from your computer to another computer with scp go to a command-line and type

 scp <file> <username>@<IP address or hostname>:<Destination>  

For Example : Copy your file to your remote computer you need to write

 scp /var/www/test/  

This will copy to the remote computer hostname is username is nikunj and destination path is /var/www/test.


-r  : Recursive

(Recursive) mean copy folders and it's sub-folder to the destination folder.

 scp -r /media/disk/summer_pics/ nikunj@"/var/www/Summer2014/"  

1 comment:

  1. The course of uses an electrolytic cell to create an oxide layer on the exposed surface by going through different voltage ranges. The oxide layer can be constructed a lot as} different thicknesses to give larger resistance to corrosion. Commonly identified as|often known as} Teflon, PTFE has low surface friction, good electrical resistance, and is self-lubricating. PTFE’s non-stick properties are utilized in cooking Fishnet Stockings utensils and for a wide range|a variety} of functions from car brakes to wiring.