Skip to content

Instantly share code, notes, and snippets.

@naokiri
Created February 21, 2015 03:04
Show Gist options
  • Save naokiri/3e62a0bca24395c0135b to your computer and use it in GitHub Desktop.
Save naokiri/3e62a0bca24395c0135b to your computer and use it in GitHub Desktop.
# backup and sync whole
#rsync -az --delete --progress --stats src dest/`date +%y-%m`
# backup diff
#rsync -azb --backup-dir=`date +%m-%d` --progress --stats src dest/`date +%y-%m`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment