Skip to content

Instantly share code, notes, and snippets.

@NPoi
Created November 10, 2014 04:55
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 NPoi/577de575df629cfb83b6 to your computer and use it in GitHub Desktop.
Save NPoi/577de575df629cfb83b6 to your computer and use it in GitHub Desktop.
rsync --rsync-path="sudo rsync" -a -e "ssh -i /path/to/identity_file" file ec2-user@ip_addr:/path/to/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment