terminal osx compare folders and files mojave code example Example: terminal osx compare folders and files mojave diff -rq folder_1 folder_2