Skip to content

Instantly share code, notes, and snippets.

@austra
Created May 20, 2015 16:17
Show Gist options
  • Save austra/36f16495749173d9665a to your computer and use it in GitHub Desktop.
Save austra/36f16495749173d9665a to your computer and use it in GitHub Desktop.
rsync with EC2
rsync -avzP -e "ssh -i /home/user/my.pem" ubuntu@ec2-xx-xx-xx-xx.us-west-2.compute.amazonaws.com:/home/ubuntu/remote-dir /home/user/local-dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment