Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

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

remove folder from library

Hi

I know this has been asked before, and searching the net has not thrown up any conclusive answers, so here it is again:


I want to remove a folder from the library that is being synced by itunes.


I used a folder temporarily to take some files of screencasts I had created to a customer on my ipad, but no longer want to do this from this folder - I have set up a seperate folder to temporarily store screencasts I wish to take with me, and therefore no longer want my main Archive of screencasts to show up in iTunes.


Is there a simple way to stop I tunes looking to this original folder (i.e. remove it from the library)?


I have seen solutions on the web that recomend, deleting/moving/renaming/recreating the folder, deleting iTunes, hacking iTunes etc etc. I just want a simple clear solution.


Thanks in advance for any support


GreenBoy2000


PS - it would be nice if this was a function in itunes!

Windows 7

Posted on May 5, 2012 1:20 AM

Reply
21 replies

May 5, 2012 2:44 AM in response to GreenBoy2000

Select the items in iTunes that you want to remove, press delete. iTunes will ask you to confirm. If the original files are located somewhere inside the iTunes Media folder iTunes will also ask if you want to keep the files or send them to the recycle bin. From the sound of things you want them sent to the bin. If the files are located outside of the media folder then you will need to manually delete them via Windows Explorer.


Note iTunes does not "look to folders" for content. ITunes won't notice if you add new files into your media folders unless you specifically tell it to look for them. Neither will it notice if you delete the files unless it has a reason to try to access them, e.g. during a sync operation.


tt2

May 5, 2012 8:53 AM in response to turingtest2

Thanks for the reply Turingtest2, but I dont agree with your comment.


Based on the evidence, the folder I added about a month ago, is being looked to by iTunes as material I added to is yesterday are showing up in iTunes today, without me doing anything more than opening iTunes - therefore from the evidence, iTunes is looking at certain forlders and is assuming any content included in it is to be included in the library.


For information the folder in question is on a seperate drive and not in 'myDocuments' on C;/ - does this make any difference.


I know I can delete things manualy - and I am assuming becuase its not part of the iTunes folder on C;/ - it does not ask me anything about physically deleting them - which is good because I dont want them to be deleted I just dont want them to show in my iTunes.


Thanks again for replying.


GreenBoy2000

May 5, 2012 10:29 AM in response to turingtest2

No - I have not added any third party tools, which makes this really weird.


iTunes is definately picking up any .mp4 file I place in this folder on my G;/ where as all my music and other videos are stored on C:/ as per the default set up.


I know that I tunes does have an add automatically to iTunes folder - do you think somehow I have manged to make this link to my folder on G:/ ? If so how can I eddit it to stop?


Thanks again for your support,


GreenBoy2000

May 5, 2012 10:57 AM in response to GreenBoy2000

I'd be surprised if that were the case but I suppose anything is possible. Have you tried using symbolic links or junctions to redirect folders at any point? What happens if you open a browser window on the Automatically add to iTunes folder and another on the folder in question, then drop a file into the second folder? Does it show up in the first? Is it added to iTunes?


tt2

May 5, 2012 11:21 AM in response to GreenBoy2000

These discussions seem to get off track pretty fast.

The original question was: Can yu remove a folder from iTunes?


Short answer appears to be "No".


There could be 10 work-arounds. But the answer is No (right?)


I have a problem where i added a top level directory & one of the sub-directories - now I have about 300 songs that are duplicated in iTunes.

It didn't copy the files, it just lists the same sond 2x.

All I really want is the sub-directory.


I would like to remove the top level directory and solve the problem with one click - not 300.

May 14, 2012 12:04 PM in response to turingtest2

I just tried your dedupe script from the post you refereneced, and now EVERY CD I had ripped is missing all of the mp3 files, over 4000! I had spent weeks ripping my entire collection and storing them on a NAS unit and now they are all gone?


The folder structures are still in tact, and the album artwork is still in the folders, but every song is gone.


After running the script, and it performed it's scan, I chose the second artist which was marked as the safest.


Where would your script have moved the files? Please respond ASAP.

May 14, 2012 12:36 PM in response to arhame

I'm very sorry to hear about this. 😟


Did you not read the warnings on my site about backing up your library first and testing the script on a small batch of files to confirm that it works as you expect it to?


Have you checked your recyle bin for the missing files? However, I've a nasty feeling that NAS drives don't behave properly when recycling files. See Recover files from a NAS. Even so the script should have kept a single copy of each group of duplicated tracks.


Does your NAS appear on multiple paths? It occurs to me that it might have been possible for you to have created a situation where one physical file appeared at two different paths so seemed to be two files. If this is what happened then when my script deleted the one "duplicate" it would have removed the file that the remaining entry was pointed at. Restoring the files from the recycle bin or NAS should fix things.


What brand is your NAS? Perhaps it comes with tools to recover accidentally deleted files. At this stage you probably don't feel much like taking advice from me but try not to do anything else with the NAS drive until you have attempted to recover your files as this will increase the chances of success.


Thread on file recovey from NAS:

http://www.tomshardware.co.uk/forum/251131-14-recovering-data-link


tt2

May 14, 2012 12:58 PM in response to turingtest2

The NAS is the backup unit. We don't have anything near that capacity to back it up to.


The unit can be reached via multiple paths, i.e. the drive mapping X:\ and through the UNC path \\NAS\music


Where would your script have moved the files?


You are correct, the recycling bend does not function on this NAS unit.


Please tell me your vbs script doesn't actually delete files, and only removes reference to the files within itunes?

May 14, 2012 1:37 PM in response to arhame

Your NAS is not a backup unit if it holds the only copy of a file.


Multiple paths to the same data would seem to be the issue behind this. If you imported the music folder via X:\...\Music and again via \\NAS\Music with Copy files to iTunes Media folder when adding to library option turned off then iTunes would have created two independent references to the same file, but with different paths. To the script these entires would appear as physical dupes when they should be treated as logical dupes. For logical dupes the script only removes references, but for physical dupes it also recycles the removed file.


The script uses the Windows recycle function in order to clean up the iTunes Media folder. A typical scenario is that an album folder holds 01 Track 1.mp3 and 01 Track 1 2.mp3 after an album has been reimported. Deleting only the iTunes reference would leave the redundant copy cluttering up the hard drive. I will consider rewriting the script so that it moves the files to an alternate folder for manual deletion by the user.


I have added an additional warning to my web page though it is obviously too late to help you at this stage.


tt2

remove folder from library

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