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

Why are there so many duplicates in my music folder?

I went into my iTunes-Media/Music folder to find a corrupted song and noticed that most of my music has been duplicated one or more times. There is the original song, and another with a "1" or sometime "2" after the title. What has happened? I guess I shouldn't care except I only have around 3,500 songs in iTunes but there are now over 10,000 files in that folder and the duplicates are taking up over 50 GB. What can I do about this without screwing up iTunes and how do I keep it from happening again? Thanks.

Windows 10

Posted on Feb 13, 2016 4:24 PM

Reply
Question marked as Best reply

Posted on Feb 13, 2016 9:00 PM

One possible approach is to use File > Add Folder to Library to add the iTunes Media folder, then anything that is currently inside the media folder and isn't already connected to the library will be added to it. You can then dedupe.



iTunes may create duplicates if the same content is repeatedly added from outside the media folder when it is set to make copies of anything that is added to the library, or is added from an external drive that hosts the media folder that was offline when iTunes was launched.




Apple's official advice on duplicates is here: Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break any others.


Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.


Use my DeDuper script (Windows only) if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.

(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)


The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to, and should cope sensibly when the same file has been added via multiple paths.

tt2

1 reply
Question marked as Best reply

Feb 13, 2016 9:00 PM in response to cdharris

One possible approach is to use File > Add Folder to Library to add the iTunes Media folder, then anything that is currently inside the media folder and isn't already connected to the library will be added to it. You can then dedupe.



iTunes may create duplicates if the same content is repeatedly added from outside the media folder when it is set to make copies of anything that is added to the library, or is added from an external drive that hosts the media folder that was offline when iTunes was launched.




Apple's official advice on duplicates is here: Find and remove duplicate items in your iTunes library. It is a manual process and the article fails to explain some of the potential pitfalls such as lost ratings and playlist membership, or that sometimes the same file can be represented by multiple entries in the library and that deleting one and recycling the file will break any others.


Use Shift > View > Show Exact Duplicate Items to display duplicates as this is normally a more useful selection. You need to manually select all but one of each group to remove. Sorting the list by Date Added may make it easier to select the appropriate tracks, however this works best when performed immediately after the dupes have been created. If you have multiple entries in iTunes connected to the same file on the hard drive then don't send to the recycle bin.


Use my DeDuper script (Windows only) if you're not sure, don't want to do it by hand, or want to preserve ratings, play counts and playlist membership. See this thread for background, this post for detailed instructions, and please take note of the warning to backup your library before deduping.

(If you don't see the menu bar press ALT to show it temporarily or CTRL+B to keep it displayed.)


The most recent version of the script can tidy dead links as long as there is at least one live duplicate to merge stats and playlist membership to, and should cope sensibly when the same file has been added via multiple paths.

tt2

Why are there so many duplicates in my music folder?

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