Skip to content

Instantly share code, notes, and snippets.

@ecorson
Created January 21, 2013 19:34
Show Gist options
  • Save ecorson/4588601 to your computer and use it in GitHub Desktop.
Save ecorson/4588601 to your computer and use it in GitHub Desktop.
Push files by rsync recursively preserving permissions and copying symlinks
rsync -avzr localfile user@localhost:/path/to/remote/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment