Wednesday, February 18, 2015

Copy directory from server to server in Linux

You can use following scp command to copy directory with files from one server to another.

scp -rp directory sujith@192.176.87.32:./

Above command will copy the 'directory" directory into home folder of sujith at 192.176.87.32.