This commit is contained in:
Jeffrey Paul
2012-12-19 01:17:00 +01:00
parent 47a0f41e2e
commit 43ab9629f2
2 changed files with 8 additions and 22 deletions

View File

@@ -1,11 +1,12 @@
JUNKFILES = .bash_history .irb_history .pip .ScanSnap .nbems .fldigi .cpan
JUNKFILES += .gdb_history .mysql_history .sqlite_history
YYYYMM := $(shell date +%Y%m)
default: backup
backup: clean
@mbsync -X eeqjgmail
@mbsync -X acidhousegmail
mbsync eeqjgmail
mbsync acidhousegmail
-rsync -avPhz --delete sneak@datavibe.net:.maildir/ \
$(HOME)/Documents/Secure/datavibe.maildir/
@internalbackup.command # to 1tb
@@ -16,6 +17,8 @@ clean:
-rm -rfv ~/Library/Caches/*
-rm -rfv ~/.Trash/*
-rm -rfv $(JUNKFILES)
-mkdir -p $(HOME)/Documents/$(YYYYMM)
-mv $(HOME)/Desktop/* $(HOME)/Documents/$(YYYYMM)
size:
du -sh $(HOME)