Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I find remove duplicate files?

How do I find and remove duplicate files?


I must have a lot because I have no space left.

Posted on Jun 10, 2012 5:24 PM

Reply
3 replies

Feb 1, 2013 7:07 AM in response to photogoof

It's unlikely you have ANY duplicate files, unless you do some non-graphical stuff, like do unix stuff, or generate vast quantities of scientific data, most likely again via unix tools. Most apps on the Mac platform do not generate duplicate files. So I doubt your hard drive is filled BECAUSE of duplicate files.


Apple has built into iTunes play count for each song, but unfortunately they again failed to be user-friendly and consistant and there is no such tool in Finder for files. It would have been perfectly placed as part of the Smart Folders feature, right? Just another example of how Apple makes crippleware! 😟


The only solution I have found is to use two unix tools, ls and diff. You'll have to open terminal for that. To get documentation on how they work, from termianl, type man ls or man diff. There's a lot to read, and unless you are a seasoned unix user, you probably won't understand much of it. Here is how it works simply


ls -l folder1 > text1.txt

ls -l folder2 > text2.txt


diff text1.txt text2.txt


The first two lines that start with ls display the folder contents and dump it into a text file. The diff line compares the two text files and shows you any differences. Simple right? Kinda.. it's complicated...


Good luck! 😟

How can I find remove duplicate files?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.