rsync – for photo backups (OSX to Ubuntu SMB storage)

Use rsync to incrementally update files on Ubuntu server’s samba SMB share.

The SMB is mounted @ /Volumes/PHOTOBAK

rsync -avxE --progress --delete /Volumes/photo06-2015/ /Volumes/PHOTOBAK/
OPTIONS USED:
-a = --archive // Equivalent to -rlptgoD. It is a quick way of saying you want recursion and want to preserve almost everything (with -H being a notable omission).
-v = verbose / increase verbosity
-x = This tells rsync to avoid crossing a filesystem boundary when recursing.
-E = copy extended attributes, resource forks
--progress = Tells rsync to print information showing the progress of the transfer.
--delete = Tells rsync to delete extraneous files from the receiving side (ones  that  aren't  on  the sending side).

This will also remove any files which have been removed from the source work disk.

!!!!! DO NOT use the (z) compression option with image transfers – this will significantly slow down the process.