Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to clean up an mp3 folder which has a plethora of duplicate files in it due to accidentally dragging my music folder into iTunes and having it re-import songs which were already in the play list.

I tried writing a quick Python app to md5 all of the files, and delete exact duplicates. This took out ~2gb of files. Unfortunately, however, this does not work on all of the duplicates because of an iTunes feature. iTunes has changed the ID3 title on some of the duplicate songs, which means the md5 of the entire file is different from the same song with a different ID3 tag.

Are there any free applications out there (for the mac) which can compare the data of the actual song (ignoring ID3 tags) and determine if duplicates exist?

share|improve this question
Does iTunes handle library management, and copies the files over when you add them? – Daniel Beck Jan 5 '11 at 4:32
Yes, it does copy them over. – Jack M. Jan 28 '11 at 14:52

This might not be exactly what you are looking for, but perhaps you could use iTunes itself?

If you sort your music collection by 'date added' you should be able to undo the accidental re-import.

In case that column is not visible (I think it's not on by default), go to "Content -> View options..." in the menu bar and make sure the box for "Date added" is ticked. Now the column we're looking for should be visible, go ahead and click the column header to sort the library by it.

At the very least, this should give you the option of deleting the entire re-import and start over again (the most recently added tracks should appear at the top).

PS. The menu options quoted above are rough translations, I'm on a Swedish mac.

share|improve this answer
iTunes is quite capable of doing the job. I have used it for this myself. – Nick Martin Jan 7 '11 at 23:15

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .