Thursday, June 25, 2015

Scp to transfer files from one server to another

To transfer files from one server to another use scp command:

scp ~/path_to_file/file.txt username@server.address:"destinastion_path/"

If you have a space in the folder name use quotes and declare space:

scp ~/path_to_file/file.txt username@server.address:"destinastion\ path/"

No comments:

Post a Comment