Skip to content

Instantly share code, notes, and snippets.

@karptonite
Created May 30, 2013 18:32
Show Gist options
  • Save karptonite/5680029 to your computer and use it in GitHub Desktop.
Save karptonite/5680029 to your computer and use it in GitHub Desktop.
My textmate rsync script
if [ $TM_RSYNC_SOURCE ]
then
rsync -e "ssh" -avz --exclude '.DS_Store' --exclude '.FBCLockFolder' --exclude 'scaffold/cache' --exclude 'css/compiled/' --exclude '*.git' --exclude 'app/compiled/smarty/' --exclude '*.out' --exclude '*.mlog' --delete "$TM_RSYNC_SOURCE" "$TM_RSYNC_DEST"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment