Add backup commands

This commit is contained in:
Andrew Miner
2017-07-10 20:10:33 -07:00
parent 518f1067c3
commit dc81e990f1
6 changed files with 122 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
#!/bin/bash
# This script will automatically be invoked by the backup system from the target directory. Use whatever bash commands
# you like to backup any files needed into the current directory. The following will grab everything from your home
# directory which commonly includes data you may care about. If there are other things you want to save, be sure to
# add them in.
rsync -az --delete /Users/andrew/ ./Users/andrew \
--exclude .DS_Store \
--exclude .Trash \
--exclude .dropbox \
--exclude Dropbox \
--exclude Library \
--include Library/Application\ Support