Brendan Dawes
The Art of Form and Code

Rsync command to copy files and log errors

Had to move my archive to another disk recently and rather than use copy in the Mac Finder, I prefer to use rsync in the Terminal as it’s much more verbose, it logs and skips errors and it will restart from where it left off if interrupted. Here’s the command.

rsync -ahP /Volumes/public/Archive /Volumes/Grand/Archive 2> ~/Desktop/rSyncErrors.txt