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.

how to delete duplicated songs all at one time?

I would like to get help deleting duplicated songs, I do not know how they got their in the first place.

Windows 7

Posted on Aug 28, 2011 10:29 AM

Reply
Question marked as Best reply

Posted on Apr 6, 2017 10:14 PM

Some how I got duplicates of my library on iTunes and to get rid of all the new duplicates I went to the library I looked for the date the new duplicate songs were added to the library then I went to columns and where you see Artist, song,

bit rate, time, etc and added 'date added' once that's done click on the box enclosing 'date added' and you will see all songs added by date. Proceed to the last one of the songs with that date press command to highlight it then scroll all the way to the first song and press 'shift' to highlight all of the songs added on that date then simply press delete.

you will be asked if you want to delete these songs...That's it.

483 replies

Nov 8, 2011 12:17 PM in response to dbois

dbois wrote:


probably my lack of tecnical expertise, but when I hit delete I don't think the underlying file gets deleted?

If the file is inside the iTunes Media folder and you delete it from say the Music source (rather than a playlist) then you will get an option to delete the underlying file. If deleteing from a playlist Shift-Delete will offer to remove it from the library, and then (if inside the media folder) ask whether it should move the file to the recycle bin. Ctrl_Shift-Delete will just ask the last question. If a file is outside the media folder iTunes will never delete it should you remove it from the library


My DeDuper script recycles all files it sees as physical duplicates (triplicates etc.) regardless of their location.


tt2

Jan 21, 2012 4:46 PM in response to Suavecito69

Note: These instructions are geared toward users who do not work in a technical field - e.g. my wife :-)


  1. Open iTunes.
  2. Click Music under LIBRARY.
  3. Search for the album that has duplicate tracks.
  4. Right click anywhere on any of the column headings (e.g. Name).
  5. Select “Date Added” and “Track Number”.
  6. Click on the Date Added column heading.
  7. Pick any of dates (at random) and select all the songs that have that same date.
  8. Right click and select Delete*.
  9. Choose whether to add the tracks to Trash (recommended) or to remove them permanently.



*How to ensure that the songs you’re about to delete are indeed duplicates

  1. To ensure that the songs in questions are in fact duplicates, click one of right click one of the songs and select Get Info.
  2. Memorize or make note of all the information starting with “Kind” through “Encoded with”.
  3. Select the other song that is believed to be a duplicate.
  4. Memorize or make note of all the information starting with “Kind” through “Encoded with”.
  5. Compare the pieces of information one by one. All of them should be the same except “Date Modified”.

Jan 24, 2012 5:33 AM in response to AppleHou77429

Don't worry it was just an observation. Threads tend to get locked automatically once the original poster has marked an answer as correct and nothing else has been added for a while. It is just that with dormant threads it is probably not that much use, at least as far as the OP is concerned, to suggest yet another alternative solution.


tt2

Feb 5, 2012 1:32 PM in response to Abdelmjid Moul Ferdi

Check you have the most recent version of the DeDuper script from my site. It should be version 1.0.1.2 dated 2nd December 2011.


Please note, the script is only intended to work on things that iTunes would treat as "Exact Duplicates" and it only works on files that are connected to the iTunes library. Before starting all files in your media folders should be added to the iTunes library.


In the context of this thread, type 1 or logical duplicates are multiple entries to the same file and type 2 or physical duplicates are multiple copies of the same file. Type 2 dupes will have identical tag information (at least they will unless you edit one of them) and the same file size thus both types will display as "Exact Duplicates" if present.


The script avoids the more complex problem of trying to detect and selectively remove what I earlier called type 3 duplicates, that is alternate recordings or rips at different bit rates of the same tune, principally because that is a much harder problem to automate, but also because "best track to keep" from a set of potential candidates will be a subjective matter.


tt2

Feb 24, 2012 4:56 AM in response to turingtest2

I'm finding this thread interesting as recently I offered to sort out a friends itunes library which had been backed up into three different folders on an external drive on three separate occasions.

He had many duplicate files. But I managed to merge them all and I was left with just duplicate entries - rather than actual files, which I couldn't seem to solve - as described by the original question in this thread.

When I selected display exact duplicates, at this stage, it would produce "duplicates" only - so I was a little baffled.

However, all this is on a macbook running leopard OS. I see this thread is mainly about Windows. Is there a script you have written that will work for mac?


thanks


curlydog

Feb 24, 2012 5:52 AM in response to curlydog

When you ask iTunes to Display Exact Duplicates, the legend at the bottom of the screen still changes to Displaying Duplicates though you should be able to tell that it is doing the job properly by comparing the number of results relative to the number given by Display Duplicates.


Sadly I don't have access to a Mac, but there should be something useful at Doug's Scripts.


If Date Added, Ratings, Play Counts etc. don't matter then you could delete all the entries from the library, without deleting the underlying files, then reimport the iTunes Media folder to restore all the tracks that have been removeed. (N.b. don't do this if there are files in wav format as these will lose associated information.)


Or you can go old school and CMD(or is it option?)-click all but one of each group of repeated tracks, a screenful at a time and delete them that way, again keeping the underlying files.


tt2

Feb 28, 2012 8:51 PM in response to turingtest2

2 relatively stupid questions for turingtest2, with the preface that my username is "Lost in an itunes fog", if thats any indication...


I have 2 major libraries of songs, one on an external, on on my PC. Each is about 35GB. I have a ridiculous amt of duplicates and need to get rid of a lot, like a few GB's worth...


1. If I go into the itunes music folder via C: drive and delete one-by-one all of the songs that are duplicates, then re-load this into my itunes library, there wont be any duplicates, right? In addition to this taking forever, as you stated previously, if these files do not say 'duplicate', is there any reason that I can't delete 2 of the 3 per say and keep the one, with the assumption that it will function?

2. If I'm in itunes and do the same systematic deletion of 2 of 3 identical songs, leaving one behind, I have no way of knowing whether its a copy of not aside from look at the "get info", but the moral of the story is that if I delete these 2 of 3 to my recycle bin, will that 1 remaining function fine as a copy? Is there something wrong with deleting the 'original' and keeping the 'copy'? Will they play, because they appear to be at the moment?


Finally, I used your DeDuper script on 1500 tracks and it cut out about 150 of them as duplicates. However, when I went back and looked via the "exact duplicates" method on itunes, it's still showing a ton of duplicates. Does that mean these are the type 3 dups?


Bottom line is I'm willing to take the long road to get rid of all of my duplicates, if that means just scrolling through my Itunes media folder and manually deleting 2 of the 3 or so dups, but is there anything wrong with that? Ie is it possible that if I delete the original, then that is no longer playable?


Thanks

Feb 29, 2012 12:31 AM in response to lostinanitunesfog

1. If you clean up visible duplicates via Windows Explorer then you will create missing file links in iTunes. These can be removed with the aid of a script or iTunes Folder Watch or you can delete the contents of your library and reimport. Note starting a fresh library will have implications for any devices synced with the current library as iTunes would want to remove all data from the device and start over.


2. As long as you can be sure that you have eliminated logical/type 1 duplicates then you are free to remove other redundant copies without breaking the tracks that you want to keep. If iTunes lists three tracks as exact duplicates then the tag information between them tallies and it is safe to delete two of them. If you expose the size and kind fields in your view you can choose whether to preserve the largest/best quality, smallest, or favoured format.


Yes, if you have used my DeDuper script then any remaining exact duplicates should be what I have described as type 3 duplicates, that is different rips of the same song in different formats or bit rates. I have, as yet, ignored this group because I couldn't think of an obvious way to determine the "best" file to keep in these circumstances since different people might have different views on what is best for them. That said I suppose it wouldn't be too hard to extend the script with an option that preserves either the largest or the smallest file, or leaves them all as it does currently.


Again, as long as there are no logical dupes then you can cull from the remainder without accidentally breaking existing track entries. If you are prepared to wait a few days I'll see what I can do about extending the script further. What are your thoughts on which file should be preserved from the dupes? I'm leaning towards largest on the grounds that it should be the best quality, leaving people free to downsample later if they want to reduce file size rather than forking out for a bigger drive.


tt2

how to delete duplicated songs all at one time?

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