Skip to content

Instantly share code, notes, and snippets.

@richjenks
Last active January 31, 2017 12:26
Show Gist options
  • Save richjenks/c28449a383d14de41151860c1e667394 to your computer and use it in GitHub Desktop.
Save richjenks/c28449a383d14de41151860c1e667394 to your computer and use it in GitHub Desktop.
# Basic
rsync -avz --delete ./source/ ./destination
# Windows deployment script with SSH fix
rsync -avz --delete --progress --exclude '.git' --chmod=755 -e 'C:\Programs\rsync\ssh.exe' ./path/to/source user@host:/path/to/destination
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment