BYO-Booya.
$ rsync -am --del --include='*.jpg' --include='*.JPG' --exclude='Thumbs/' \ > -f 'hide,! */' /Users/klingerf/Pictures/ /Volumes/GIZMO/Backup/photos/ |
I use the command above to periodically backup my iPhoto library. I’m running it with a daily cronjob, which first checks to make sure my external hard drive is connected and then copies over the contents of my Pictures directory. Full crontab here.