rsync -rin --ignore-existing $DIR_A/ $DIR_B/ Reference: https://unix.stackexchange.com/questions/57305/rsync-compare-directories https://apple.stackexchange.com/questions/10252/what-directory-comparison-tools-can-i-use-on-os-x