exec rsync -avz --delete --delete-excluded --filter dir-merge gitignor

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
exec rsync -avz --delete --delete-excluded \
--filter="dir-merge,- .gitignore" \
--filter="dir-merge,- .cvsignore" \
--filter="dir-merge,- .svnignore" \
--filter="dir-merge,- .bzrignore" \
--filter="exclude,sr /.xmms2" \
--filter="exclude .swp" \
--filter="exclude .*.swp" \
--filter="exclude *.pyc" \
--filter="exclude *.o" \
--filter="exclude /.cache" \
--filter="exclude /.thumbnails" \
--password-file=$HOME/.storage-backup-passwd \
$HOME/ storage::darkk-backup/