Skip to content

Instantly share code, notes, and snippets.

@rogerz
Created March 16, 2014 03:36
Show Gist options
  • Save rogerz/9578177 to your computer and use it in GitHub Desktop.
Save rogerz/9578177 to your computer and use it in GitHub Desktop.
rsync command for deploying
rsync ./ ec2:~/wechat-demo --exclude '.git*' --compress --links --copy-unsafe-links --perms --recursive --times --delete --delete-excluded --progress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment