Return to Snippet

Revision: 45343
at April 28, 2011 19:52 by frigga


Initial Code
Another way, if you have SSH:

rsync -aE -e ssh directory user@hostB:target_dir

or from hostB

rsync -aE -e ssh user@hostA:directory target_dir

You can also use the z (--compress) switch to rsync if network throughput is an issue.

Initial URL
http://hintsforums.macworld.com/showthread.php?t=52649

Initial Description
Command to transfer files between servers using the command line.

Initial Title
transfer files via ssh

Initial Tags
command, file, line, ssh

Initial Language
Bash