Apple Event: May 7th at 7 am PT

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

Itunes has duplicated my entire library is there a way to restoring it

Hi

I plugged my wheezy old 64gb ipod touch into my laptop today . when I viewed my music library every track was duplicated int he same folder for instance when you view the contents there would be 2 x track one and so on through the entire folder . this is the case for every folder in my music library , I do not know what has happened but is there an easier way to delete the files other than the individual delete duplicate songs method / There are now 11542 files !!

Many thanks to those who take the time to respond to this topic


John

iPod touch

Posted on Nov 23, 2014 7:31 AM

Reply
41 replies

Feb 20, 2015 6:38 PM in response to turingtest2

Thanks for the info. I got rolling and was able to dedupe one album. Two questions:


1) As the album was being deduped it asked me for each multiple if I wanted to delete it. Is there a way to avoid this?

2) When I look in my iTunes folder on my external hard drive I still see multiple duplicates of the the track I deduped. How do I get rid of those?


Thank you!

Feb 21, 2015 3:13 AM in response to nomt2hi

1. Should only happen if you answer no at the first prompt which puts it in track-by-track confirmation mode. This is mainly for testing purposes. If you ascended yes and are still deletions then can you check whether it is the script asking the question or Windows? If Windows it might be, for example, that the source files are marked as read-only or there could be some other permissions problem. See Repair security permissions for iTunes for Windows for details.


2. The script can only manage content that is connected to the library. Depending on how you generated the duplicates in the first place, and any prior attempts at deduping, there may be files in the media folder that iTunes doesn't see. Adding the media folder to the library would fix this, again assuming the permissions are set correctly.


tt2

Feb 21, 2015 11:04 AM in response to turingtest2

Thanks for your guidance on this! Something that started as a simple project turned into a good learning experience.


My 2nd item seemed to take care of itself. I went back and looked in my main itunes folder and after running some of the songs there is only one of each.


As for #1, I followed the directions, but still have to allow each song to be deleted. I tried the windows idea. If it's the script is there a way around that? Thanks,

Rob

Feb 21, 2015 12:32 PM in response to nomt2hi

Check to see if the files themselves are clear of the read only flag. I'm sure they will be, but if they are not then perhaps the permission changes are not propagating down. Taking ownership from the top level folder may fix that. Otherwise I'll look to making an edit to the script so there is an option that moves the dupes to an archive folder instead of deleting them. You can then delete all of the dupes in one action in Windows Explorer after checking the library. May take me a day or so.


tt2

Itunes has duplicated my entire library is there a way to restoring it

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