Created
January 20, 2013 07:22
-
-
Save alaahd/4577138 to your computer and use it in GitHub Desktop.
Rsync "optimised"
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 -vrz --ignore-existing --size-only -e "ssh -i /Users/mark/id_rsa-readonly" readonly@1.1.1.1:/var/www/project/images/2012 /var/www/project/images/ | |
//note the the source has no trailing slash | |
// target has a trailing slash |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment