Created
April 11, 2011 10:06
-
-
Save alotaiba/913313 to your computer and use it in GitHub Desktop.
Using rsync to sync files to an Amazon EC2 instance using SSH key
This file contains hidden or 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 -avz /path/to/local/sync/folder -e "ssh -i /path/to/ssh/key" ubuntu@ec2instance:/path/to/remote/sync/folder |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how rsync works from Ubuntu to Windows server scenario ?
rsync -avz /tmp/* [email protected]:/cygdrive/c/
Above command is not working