

Open this to view the names of identical files. The names of duplicate items will be listed in a file named duplicates.txt in the current directory. This method uses a simple checksum to determine whether files are identical. Finder has a search field that can be handy for finding duplicate files. size 20 \! -type d -exec cksum \ | sort | tee /tmp/f.tmp \ | cut -f 1,2 -d ' ' | uniq -d | grep -hif /tmp/f.tmp > duplicates.txt

At the command prompt type cd for example cd ~/Documents to change directory to your home Documents folder.Īt the command prompt, type the following command: find. Open Terminal from Spotlight or the Utilities folder.Ĭhange to the directory (folder) you want to search from (including sub-folders) using the cd command. Use Terminal (although not recommend due to possibility of deleting wrong stuff). By default, the photos imported to your OS X Photos app are stored in the Photos library in your Macs Pictures folder.

Use apps like: Duplicate Cleaner For iPhotoĬreate Automator workflow (it is not worth the time creating and testing it). I would use the DIY way to make sure it is not deleting unwanted stuff.
