Created
June 11, 2015 13:58
-
-
Save hgascon/f513e4586f38b27814f7 to your computer and use it in GitHub Desktop.
Fast remote directory rsync over ssh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -aHAXxv --numeric-ids --delete --progress -e "ssh -T -c arcfour -o Compression=no -x" user@<source>:<source_dir> <dest_dir> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case there are too many files:
https://hugepang.wordpress.com/2011/06/08/solution-bash-usrlocalbinrsync-argument-list-too-long/