Quantcast
Channel: admin – Digerati Consulting
Viewing all articles
Browse latest Browse all 10

rsync via SSH

$
0
0

To copy files from one server to another via ssh:

First login to the destination server and cd to the directory that you want to copy files into.
Then type rsync -ave ssh username@sourceserver:directory/path/to/copy/ .
NOTE: don’t forget the ‘.’at the end. This is important.

On TextDrive (old FreeBSD servers), the exact path is:
rsync -ave ssh username@server.textdrive.com:domains/mydomain.com/public_html/ .


Viewing all articles
Browse latest Browse all 10

Trending Articles