Removing Files from iTunes Library after a manual delete

Published on 16 Mar 2009 at 10:42 am. 71 Comments.
Filed under itunes.

Removing Songs from iTunes that no longer exist

If you manually delete files for any reason from your iTunes library the library itself will still have the file. This is great if the file is on an external disc that happens to be disconnected, but if you deleted the file permanently, you will also want it out of your library listing.

Yesterday I described an easy method for manually removing duplicate files in an iTunes library on the QNAP 509 or Mac OS. That was only half of the problem. The duplicate files most likely still exist in your iTunes library.  One of the most frustrating thing about the duplicate files is that when viewed inside iTunes they look identical to the originals, even tho on the disk they may end in 1.mp3  2.mp3 and may be found in hidden directories. Of course you want to keep the original file names, without the extra information. By performing the dupe delete linked above you can now easily fish out in iTunes which files are the originals and which were dupes. iTunes will do this for you if you delete the library xml file, or you can do it yourself.

The Quick Way - Delete the iTunes Library xml file

Simply delete the iTunes .xml file, most likely found in ~/Music/iTunes/iTunes Music Library.xml

This will make iTunes re-index your whole library and is the fastest method if you had a lot of dupes.

However you will lose some information about the files that remain so I don’t reccomend this method.

The Slow Way - Pound ‘Next’

If you don’t feel like trusting iTunes to re-index your library, or you only had a few duplicate songs you can fish out which of the duplicate files in your library you deleted and remove them from the library yourself.

1. Open iTunes and select your Music Library

2. While holding down the Option key go to the File menu and select “Show Exact Duplicates”

3. When your list of duplicates loads, highlight the first file in the list hold down Control (or use right click) and click the file, use the context menu to select “Get Info”.  You may get a message about the file being missing, if it asks if you want to find the file yourself select No.

4. There should be a “Next” button in the bottom left corner of the window that appears.

5. Simply keep hitting Next and as you do the duplicate files that are now missing because you deleted them will start getting marked with a ! before the name.

6. command click to select all the files with the ! by them and then control click and select “Delete” It will ask if you are sure you want to remove them from the library, but unlike when the file exists, it will not ask if you want to delete or keep the file.

One thing I noticed in all this is it seems to me when copying your library from one location to another, the duplicates that are created when re-importing are usually the purchased items. Next time I do something like this I am going to skip copying the purchased items and let iTunes re-download them for me.

71 Comments to ‘Removing Files from iTunes Library after a manual delete’:

  1. Jason Larson » Remove iTunes Dupes with One Command on QNAP or MacOS on 16 Mar 2009 at 10:45 am: 1

    [...] Transfer Palm Memos To iPhoneRemoving Files from iTunes Library after a manual delete [...]

  2. Frankie on 15 Jun 2010 at 8:39 am: 2

    Привет!! carlos@onlylcd.ru” rel=”nofollow”>……

    С уважением,…

  3. Konstantin on 19 Jun 2010 at 10:38 am: 3

    Добрый вечер! mason@sportbul.ru” rel=”nofollow”>……

    С уважением,…

  4. Alexander7 on 19 Jul 2011 at 10:34 pm: 4

    buy@generic.LEVITRA” rel=”nofollow”>…

    Need cheap generic LEVITRA?…

  5. FREDDIE on 28 Jul 2011 at 9:14 pm: 5

    Buy@Cheap.Coral.Calcium” rel=”nofollow”>…

    Buywithout prescription…

  6. PERRY on 29 Jul 2011 at 1:15 am: 6

    Purchase@Coral.Calcium.Online” rel=”nofollow”>…

    Buywithout prescription…

  7. OTIS on 29 Jul 2011 at 6:13 am: 7

    Purchase@Abana.Online” rel=”nofollow”>..

    Buydrugs without prescription…

  8. LEO on 29 Jul 2011 at 7:30 am: 8

    Purchase@Cheap.Abana” rel=”nofollow”>…

    Buygeneric pills…

  9. EDUARDO on 29 Jul 2011 at 8:15 pm: 9

    Cheap@Generic.Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buygeneric pills…

  10. WALLACE on 30 Jul 2011 at 5:52 pm: 10

    Get@Acai.Online” rel=”nofollow”>…

    Buygeneric drugs…

  11. BRANDON on 31 Jul 2011 at 3:40 pm: 11

    Cheap@Coral.Calcium.Online” rel=”nofollow”>..

    Buyno prescription…

  12. SALVADOR on 31 Jul 2011 at 5:10 pm: 12

    Buy@Discount.Abana” rel=”nofollow”>..

    Buygeneric meds…

  13. TERRENCE on 1 Aug 2011 at 10:26 am: 13

    Order@Discount.Abilify” rel=”nofollow”>..

    Buyit now…

  14. LEWIS on 1 Aug 2011 at 3:56 pm: 14

    Cheap@Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>..

    Buynow it…

  15. EDUARDO on 2 Aug 2011 at 9:10 pm: 15

    Buy@Cheap.Abilify” rel=”nofollow”>.

    Buynow it…

  16. ROY on 3 Aug 2011 at 8:05 am: 16

    Buy@Abilify.5mg.10mg.15mg.20mg.30mg” rel=”nofollow”>…

    Buywithout prescription…

  17. RICARDO on 3 Aug 2011 at 1:44 pm: 17

    Buy@Cheap.Acai” rel=”nofollow”>..

    Buydrugs without prescription…

  18. FELIX on 3 Aug 2011 at 2:43 pm: 18

    Buy@Discount.Acai” rel=”nofollow”>…

    Buyit now…

  19. TRACY on 3 Aug 2011 at 6:41 pm: 19

    Order@Cheap.Acai” rel=”nofollow”>…

    Buywithout prescription…

  20. WILLIE on 3 Aug 2011 at 7:04 pm: 20

    Order@Cheap.Acai” rel=”nofollow”>…

    Buygeneric drugs…

  21. JEFFREY on 3 Aug 2011 at 9:18 pm: 21

    Purchase@Acai.Online” rel=”nofollow”>…

    Buynow it…

  22. ALVIN on 4 Aug 2011 at 2:27 am: 22

    Cheap@Acai.Online” rel=”nofollow”>..

    Buynow it…

  23. RUSSELL on 4 Aug 2011 at 6:55 am: 23

    Buy@Generic.Acai” rel=”nofollow”>..

    Buywithout prescription…

  24. JUAN on 4 Aug 2011 at 8:52 am: 24

    Buy@Generic.Acai” rel=”nofollow”>..

    Buydrugs without prescription…

  25. BILLY on 8 Aug 2011 at 1:42 am: 25

    Cheap@Generic.Aciphex” rel=”nofollow”>.…

    Buygeneric drugs…

  26. ADAM on 10 Aug 2011 at 1:50 am: 26

    Order@Generic.Actonel” rel=”nofollow”>.…

    Buyno prescription…

  27. CLIFTON on 10 Aug 2011 at 10:40 pm: 27

    Order@Discount.Actoplus.Met” rel=”nofollow”>..

    Buygeneric meds qmo…

  28. LLOYD on 11 Aug 2011 at 6:51 am: 28

    Purchase@Discount.Actos” rel=”nofollow”>…

    Buywithout prescription xiu…

  29. JEREMIAH on 11 Aug 2011 at 7:27 am: 29

    Cheap@Actos.Online” rel=”nofollow”>..

    Buynow it tly…

  30. VICTOR on 12 Aug 2011 at 12:07 am: 30

    Purchase@Generic.Actos.15mg.30mg” rel=”nofollow”>..

    Buygeneric pills zdg…

  31. EVERETT on 12 Aug 2011 at 1:26 pm: 31

    Purchase@Cheap.Adalat” rel=”nofollow”>..

    Buygeneric meds abx…

  32. LUIS on 12 Aug 2011 at 4:04 pm: 32

    Buy@Coral.Calcium.Online” rel=”nofollow”>…

    Buyit now oil…

  33. MARCUS on 12 Aug 2011 at 7:50 pm: 33

    Purchase@Cheap.Coral.Calcium” rel=”nofollow”>..

    Buynow it vhx…

  34. MARVIN on 14 Aug 2011 at 3:05 pm: 34

    Order@Acai.Without.Prescription” rel=”nofollow”>.

    Buynow it lmg…

  35. JOHNNY on 17 Aug 2011 at 8:09 am: 35

    Order@Generic.Accutane” rel=”nofollow”>…

    Buygeneric meds svb…

  36. JOEL on 18 Aug 2011 at 12:58 am: 36

    Buy@Discount.Aciphex” rel=”nofollow”>..

    Buyno prescription wkp…

  37. JERRY on 18 Aug 2011 at 5:45 am: 37

    Purchase@Aciphex.Online” rel=”nofollow”>…

    Buydrugs without prescription vrg…

  38. GLENN on 18 Aug 2011 at 12:43 pm: 38

    Buy@Aciphex.Without.Prescription” rel=”nofollow”>..

    Buyno prescription tao…

  39. VINCENT on 19 Aug 2011 at 3:28 pm: 39

    Purchase@Cheap.Acomplia” rel=”nofollow”>.

    Buyit now ojb…

  40. VERNON on 21 Aug 2011 at 1:18 am: 40

    Purchase@Discount.Acomplia” rel=”nofollow”>…

    Buynow ela…

  41. NICHOLAS on 21 Aug 2011 at 4:06 am: 41

    Buy@Actonel.Online” rel=”nofollow”>.

    Buygeneric pills oir…

  42. MARION on 24 Aug 2011 at 10:12 am: 42

    Cheap@Generic.Advair.25mcg50mcg.25mcg125mcg.25mcg250mcg.50mcg500mcg.50mcg100mcg.50mcg250mcg” rel=”nofollow”>…

    Buygeneric drugs mby…

  43. FREDRICK on 26 Aug 2011 at 12:37 pm: 43

    abilify@and.gemfibrozil” rel=”nofollow”>.

    Buyno prescription…

  44. HUBERT on 27 Aug 2011 at 12:41 pm: 44

    alphagan@refrigerated.buy” rel=”nofollow”>…

    Buygeneric drugs…

  45. MAX on 27 Aug 2011 at 3:11 pm: 45

    amantadine@hydrochloride.tablets” rel=”nofollow”>..

    Buygeneric drugs…

  46. EDGAR on 28 Aug 2011 at 1:37 pm: 46

    acular@albinism.buy” rel=”nofollow”>..

    Buygeneric meds…

  47. RAFAEL on 29 Aug 2011 at 8:18 am: 47

    arjuna@pills.buy” rel=”nofollow”>..

    Buygeneric meds…

  48. MIKE on 18 Oct 2011 at 10:56 pm: 48

    viagra order uk

    Buy_generic pills…

  49. DUSTIN on 19 Oct 2011 at 5:37 am: 49

    weight loss disclaimer law

    Buy_drugs without prescription…

  50. NORMAN on 20 Oct 2011 at 4:17 pm: 50

    what are the trimesters of pregnancy

    Buy_generic drugs…

  51. BRADLEY on 21 Oct 2011 at 4:08 pm: 51

    percent of obese children in usa

    Buy_now it…

  52. ROBERTO on 25 Oct 2011 at 8:30 am: 52

    weight loss doctors in memphis tennessee

    Buy_generic drugs…

  53. TOM on 25 Oct 2011 at 8:09 pm: 53

    is flomax good for prostatitis

    Buy_generic meds…

  54. CHRIS on 27 Oct 2011 at 3:49 am: 54

    cancer of spine

    Buy_without prescription…

  55. GORDON on 27 Oct 2011 at 12:09 pm: 55

    herbal essence coupon discount

    Buy_now it…

  56. TERRENCE on 28 Oct 2011 at 7:49 pm: 56

    stress from clinical duty

    Buy_without prescription…

  57. MARC on 29 Oct 2011 at 8:22 am: 57

    saline for nebulizer

    Buy_generic pills…

  58. JOEL on 1 Nov 2011 at 12:27 am: 58

    how to get teens off drugs

    Buy_drugs without prescription…

  59. GEORGE on 3 Nov 2011 at 5:47 am: 59

    office of generic drug

    Buy_generic drugs…

  60. JUAN on 3 Nov 2011 at 7:27 am: 60

    chronic bronchitis from marijuana

    Buy_now…

  61. JEREMIAH on 3 Nov 2011 at 6:15 pm: 61

    decreased appetite during pregnancy

    Buy_generic drugs…

  62. BILL on 3 Nov 2011 at 9:35 pm: 62

    maximum daily dose for venlafaxine

    Buy_it now…

  63. KURT on 4 Nov 2011 at 10:55 am: 63

    can a woman have colorectal cancer

    Buy_drugs without prescription…

  64. ZACHARY on 4 Nov 2011 at 5:35 pm: 64

    food low in cholesterol

    Buy_now it…

  65. ALFREDO on 6 Nov 2011 at 7:12 am: 65

    ayurvedic ashwagandha zyban

    Buy_generic pills…

  66. WALLACE on 8 Nov 2011 at 3:06 pm: 66

    relief of skin itching

    Buy_now it…

  67. WADE on 8 Nov 2011 at 4:45 pm: 67

    clinical diagnosis and medical records

    Buy_generic meds…

  68. DALE on 9 Nov 2011 at 5:45 pm: 68

    eye drops canine paralysis

    Buy_now…

  69. LESLIE on 15 Nov 2011 at 5:23 pm: 69

    cause for morning erections

    Buy_generic meds…

  70. CHRISTIAN on 16 Nov 2011 at 6:44 am: 70

    inpatient drug rehab sanford fl

    Buy_it now…

  71. REGINALD on 17 Nov 2011 at 6:04 am: 71

    acyclovir stada cream

    Buy_generic drugs…

Leave a Reply