This commit is contained in:
Jeffrey Paul
2012-06-20 10:22:58 +02:00
parent e3c6e55761
commit 5c6e865262
6 changed files with 28 additions and 220 deletions

21
homedir.makefile/Makefile Normal file
View File

@@ -0,0 +1,21 @@
JUNKFILES = .bash_history .irb_history .pip .ScanSnap .nbems .fldigi .cpan
JUNKFILES += .gdb_history .mysql_history .sqlite_history
default: backup
backup: clean
@mbsync -X eeqjgmail
@mbsync -X acidhousegmail
-rsync -avPhz --delete sneak@datavibe.net:.maildir/ \
$(HOME)/Documents/Secure/datavibe.maildir/
@internalbackup.command # to 1tb
@externalbackup.command # to fw800
clean:
-rm -rfv ~/tmp/*
-rm -rfv ~/Library/Caches/*
-rm -rfv ~/.Trash/*
-rm -rfv $(JUNKFILES)
size:
du -sh $(HOME)