Skip to content

Instantly share code, notes, and snippets.

@chriskief
Last active August 29, 2015 14:08
Show Gist options
  • Save chriskief/aed58545310943b1e07b to your computer and use it in GitHub Desktop.
Save chriskief/aed58545310943b1e07b to your computer and use it in GitHub Desktop.
rsync -rave "ssh -i /path/to/EC2_KEY.pem" /path/to/local/files/* EC2_USER@EC2_INSTANCE:/path/to/remote/files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment