Skip to content

Instantly share code, notes, and snippets.

@jaybill
Forked from alotaiba/gist:913313
Created March 20, 2013 19:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaybill/5207703 to your computer and use it in GitHub Desktop.
Save jaybill/5207703 to your computer and use it in GitHub Desktop.
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