Created
October 18, 2013 14:21
-
-
Save EpocSquadron/7042272 to your computer and use it in GitHub Desktop.
An rsync snippet for syncing files from a non-git server without all the junk.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.bak | |
*.diff | |
*.patch | |
*.md | |
*.err | |
*.orig | |
*.log | |
*.rej | |
*.swo | |
*.swp | |
*.vi | |
*~ | |
*.sass-cache | |
.DS_Store | |
.htpasswds | |
._* | |
__MACOSX | |
.revision | |
Thumbs.db | |
.cache | |
.project | |
.settings | |
.tmproj | |
nbproject | |
*.sublime-project | |
*.sublime-workspace | |
_notes | |
dwsync.xml | |
*.komodoproject | |
.komodotools | |
*.esproj | |
*.espressostorage | |
*.rbc | |
.gitmodules | |
benchmarks | |
.git | |
.hg | |
.svn | |
.CVS | |
.idea | |
sitemap.xml | |
cache/* | |
images/sized/* | |
images/made/* | |
images/remote/* | |
_thumbs/* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -zcrSLh --progress --exclude-from=.rsyncignore $1 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment