Skip to content

Instantly share code, notes, and snippets.

@arthuralvim
Last active September 30, 2015 15:24
Show Gist options
  • Select an option

  • Save arthuralvim/5dbbefb6e5c3859dafa5 to your computer and use it in GitHub Desktop.

Select an option

Save arthuralvim/5dbbefb6e5c3859dafa5 to your computer and use it in GitHub Desktop.
Example of rsync call.
// v = verbose
// a = archive
// z = compress
// h = progress
rsync -vazh --dry-run --partial -e "ssh -p port" /path/to/local/files/ [email protected]:/path/to/remote/files/
rsync -vazh --dry-run --partial -e "ssh -p port" [email protected]:/path/to/remote/files/ /path/to/local/files/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment