Remote Linux server to remote linux server dir copy. How? [closed]

There are two ways I usually do this, both use ssh:

scp -r sourcedir/

or, the more robust and faster (in terms of transfer speed) method:

rsync -auv -e ssh --progress sourcedir/

Read the man pages for each command if you want more details about how they work.

Leave a Comment