chxo internets RSS

A network of memes,
by Chris Snyder

See also
CHXO Internet
twitter.com/64

Archive

Jun
16th
Sat
permalink

How I Backup My Powerbook

The following script syncs my laptop (Honshu) with an external drive (Kyoshu). The three commands implement a scheme where the important and downloaded media stuff is backed up forever, whereas the stuff on my Desktop is transient (deleted when I delete it).

I should point out that I keep all 3rd-party applications in /Applications/3rd, and all downloaded or ripped media in ~/Desktop/torrents.

#!/bin/bash  echo "Beeep beeep beeep"; 
/usr/bin/rsync -E -a --stats --progress \
--exclude=csnyder/tmp --exclude=csnyder/Desktop --exclude=cache \
--exclude=Caches --exclude=csnyder/Library/Parallels \
/Users/csnyder /Applications/3rd \
/Volumes/Kyoshu/Honshu/
/usr/bin/rsync -E -a --stats --progress   \
--delete \
/Users/csnyder/Desktop \
/Volumes/Kyoshu/Honshu/csnyder/
/usr/bin/rsync -E -a --stats --progress /Users/csnyder/Desktop/torrents \
/Volumes/Kyoshu/archive