Simple Rsync Backup
Rsync is an awesome tool for creating and restoring backups, but it really helps if you remember how you ran the command the first time.
This post is an effort to fix that problem with my backups, or rather an excuse to not have to bother remembering it anymore.
rsync -avz -e ssh –delete –stats –progress /Users/jay jallen@(hostname/IP):/home/jallen/stuff2 –exclude ‘.Trash’ –exclude ‘.DS_Store’
All of the options starting with delete are double dashes. For some reason when I copy and paste the above into a terminal it pastes them as single dashes which screws up the command.
Note: This is being used to backup a MacBook to a remote SSH-accessible drive, hence the exclude statements for .Trash and .DS_Store.