How can I de-dupe my entire music library while preserving iTunes data?
February 13, 2009 4:49 PM
Subscribe
How can I de-dupe my entire music library while preserving iTunes data?
Don't ask me how, but I've recently discovered my entire iTunes libary exists in duplicate. Now, normally this wouldn't be a huge problem, just ditch the duplicate files and re-import. However, my music files are structured as such:
Music -> [Artist] -> [Album 1] [Album 2] -> [Track 1] [Track 2] etc.
Each track is buried within each album file which is buried in each artist file.
Bonus: The files which are currently "the good files" (those which iTunes is pointed towards) are those which were more recently duplicated. In other words, each .mp3 files ends with a (1) at the end of the file name. Being the crazy compulsive person that I am, this seriously bothers me.
Is there any way to run a script on the music folder that will trash any file that ends in 1? I really don't want to have to go through these by hand as there are 244 artist folders and 490 album folders.
Double bonus: I know I'll have to re-import, but I'd like to keep the track ratings (I use a bolean system, they are either 5 star or no star) and the play counts, as I have smart play lists based on this. I've already exported my iTunes library file, but am not sure that is enough to keep anything besides my playlists.
Please help!
posted by DrDreidel to computers & internet (12 comments total)
8 users marked this as a favorite
posted by immlass at 5:13 PM on February 13