rsync via SSH

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/ .

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Please enter 10 numbers for Captcha: * Time limit is exhausted. Please reload the CAPTCHA.