Skip to content

Instantly share code, notes, and snippets.

@daveWid
Created January 26, 2012 18:36
Show Gist options
  • Save daveWid/1684259 to your computer and use it in GitHub Desktop.
Save daveWid/1684259 to your computer and use it in GitHub Desktop.
Rsync deployment script
#!/bin/bash
rsync -rvzu ./ USER@SERVER:PATH/ --exclude '/.git*' --exclude '/deploy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment