Skip to content

Instantly share code, notes, and snippets.

@miknight
Created June 15, 2009 02:10
Show Gist options
  • Save miknight/129909 to your computer and use it in GitHub Desktop.
Save miknight/129909 to your computer and use it in GitHub Desktop.
#!/bin/bash
rsync -avz --exclude pull.sh --exclude push.sh user@server.com:/path/to/folder/ .
date
#!/bin/bash
rsync -auvz --exclude push.sh --exclude pull.sh --exclude .git --exclude css --exclude .css --exclude /inc/js/jqgrid/themes/ --exclude .DS_Store . user@server.com:/path/to/folder/
date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment