Previous 1 2 3 Next 43 Replies Latest reply: Oct 27, 2014 1:33 AM by turingtest2
sal1k Level 1 Level 1 (0 points)

I have a Mac Mini which serves as the family Video Server to an AppleTV (and all the other Mac / iDevices we own). It is running Lion 10.7.4, with iTunes 10.6.1.


The iTunes library is set up on a connected Drobo via USB. iTunes runs on the Mac Mini's internal HD (of course), but the Library is located on the Drobo.


This is what I want: I want the iTunes folder (including the iTunes Media folder, and all the xml / library files) to all be on the Drobo, in one self contained folder, as though it was on the Mac Mini. For some reason, iTunes chooses to keep the library files etc, on the Mini itself, when the movie / TV files are on the Drobo. Everything works as it should, but I want a tidy iTunes folder on the Drobo itself, with nothing on the Mini (which will make moving the entire library easier in the future, if necessary).


Regardless of my Choosing to Consolidate library / Organize Libfary (which do nothing not even a progress bar), nothing happens.


Here is the current state of my iTunes:


This is on the Mac Mini: (contains no media files, they're all on the Drobo)



This is on the Drobo: (contains the actual movies and television show files)




This is what I want on the Drobo only, to contain everything in one folder, rather than split between two drives.




Is this possible? If so, how? Do I need to start from scratch? I will if that is the only way.


I currently have a little over 550GB of movies and TV shows.




Mac Pro, Mac OS X (10.7), 2.8 GHz Quad Nahalem 16GB RAM
  • turingtest2 Level 9 Level 9 (61,165 points)

    Make a split library portable


    Here are the typical layouts for the iTunes folders:




    In the layout above, with the media folder (everything in the red box) inside the library folder, the library is considered to be portable. A portable library can be moved from one path to another without breaking the links between the library and the media and being self-contained is much easier to backup.


    You can rearrange things to make a split library portable by taking a number of small steps which don't break the library.


    Before you start any media files that are outside of the media folder will need to be consolidated. If the library is in the old style layout then it should ideally be be upgraded to iTunes Media Organisation (Library > Organise Library > Rearrange files in the folder <Media Folder>) to ensure that iPod Games, Mobile Applications etc. are brought inside the media folder.


    The basic non-fatal manipulations are:

    • You can connect to an alternate set of library files by holding down Shift (Win) or Option (Mac) when starting iTunes.
    • You can move the library files to a new location as long as the media stays put.
    • You can move the library files and the media together if the media folder is a direct subfolder of the library folder.
    • If you have already moved/copied the media content from a subfolder of the library folder to a different location then you only need to copy the library files for it to appear as if you have moved the entire library in the way allowed above. I.e. just copy the library files into the parent folder of the media folder.
    • You can rename the media folder to iTunes Media (if it isn't already) if the media folder is inside the library folder.
    • iTunes uses the name of the folder holding the library files as the window title. Having made a library "portable" you may need to take a final step of renaming the library folder to iTunes or, if the library files have ended up at the root of a drive, moving all of the library files and content folders into a new folder called iTunes.


    After each change you need to open, test and close the relevant library before attempting another change. If a change broke the library, undo it or revert to using the previous set of library files.


    In essence all you need to do to make your library portable is copy the library files into the parent folder of the media folder on the external/secondary drive and use the hold-down-shift/option-when-starting-iTunes method to connect to it. Other manipulations may be required to normalize the library so that the library and media folders have standard names.



  • turingtest2 Level 9 Level 9 (61,165 points)

    In your specific case,

    1. Library > Rearrange file in the folder "iTunes Library". Should be grayed out since I can see a Music folder at /iTunes Library on the Drobo..
    2. Library > Consolidate files. Just in case.
    3. Close iTunes.
    4. Copy the contents of .../Music/iTunes, with the exception of iTunes Media & iTunes Music (which should be empty or hold redundant copies), from the Mac mini into the root folder of the Drobo.
    5. Delete iTunes Music Library.xml, (iTunes will be making a new file called iTunes Library.xml) and, if it were not already the case, rename iTunes Library (file) as iTunes Library.itl.
    6. Option-start iTunes and connect to the library file in the root of the Drobo.
    7. Check everything works... Close iTunes.
    8. Rename iTunes Library as iTunes Media.
    9. Start iTunes, check everything works, close iTunes.
    10. Create a folder iTunes in the root of the Drobo, move the iTunes library files, Album Artwork, iTunes Media and Previous iTunes Libraries folder inside iTunes.
    11. Option-start iTunes and connect to the library file at /iTunes/iTunes Library.itl.
    12. Check everything works... Enjoy the music.



  • sal1k Level 1 Level 1 (0 points)



    Thanks so much for your detailed responses. Especially the second one. I'm going to try these steps when I get home. Rest assured, I back up my files religiously, so if anything goes wrong, it is only a matter of a few hours of copying back folders to get it all back to the way it was.


    A couple of questions on something you mentioned in the post with steps for my particular case:


    In Step 1, the menu option you reference is Reorganize Files, right? And you're correct that it is grayed out under: File > Library > Organize Library...


    In Step 2, is it normal that when I have checked the box for Consolidate Library, that the Reorganize Library box remains grayed out? And when I finally click OK for that dialog box (with only "Consolidate Library" checked), absolutely nothing happens currently (not having taken all of your steps of course). With the way the files are currently organized, I click OK and no progress bar, no nothing.


    Thanks agin!


  • turingtest2 Level 9 Level 9 (61,165 points)

    Yep. Reorganize files... is a one-time only tool needed to convert from the old layout to the new one. Again I mention it so that others finding this thread might know they should use it if they can.


    The reorganize check box stays dimmed once the library is in the new layout. If there is nothing to consolidate then there is nothing to do. Perhaps iTunes can tell quite quickly if it that is the case, so no progress bar needed.



  • sal1k Level 1 Level 1 (0 points)

    Thank you so much! Your steps were clear and they worked perfectly! I would have never thought to do what you said, let alone attempt it without the fear that iTunes would be copying files for an eternity!



  • turingtest2 Level 9 Level 9 (61,165 points)

    You're welcome.



  • good11br Level 1 Level 1 (0 points)

    Would I be able to get your help as well?


    I have an XP with iTunes 10, which has both the library and music files on the hard drive.  I want to move my library to my new Win7 machine, and move the actual music files to an external HD.  I've tried a lot of other forums without success, so if you can give step by step instructions I would really appreciate it!


    Let me know if you need any screenshots.  Thanks in advance

  • turingtest2 Level 9 Level 9 (61,165 points)

    Where is everything now?


    If the layout of the library & media folders is like that on the right in the image above then you should just copy the iTunes folder to the root of the external drive. Connect the drive to the new machine, hold down shift as you start iTunes, then choose the library on the external drive.


    If things are less organized or the library is split or in the older layout then give me some more details...



  • good11br Level 1 Level 1 (0 points)

    Thanks - yes, as it turns out, all I had to do was copy all the files to the remote drive, then copy all of the iTunes DB files to the default location on my new computer...

  • strangegeek Level 1 Level 1 (0 points)

    Dear Turingtest2,


    Could I please get your input on a somewhat related situation that I am currently having?


    Here is my set up:


    Mid 2009 15" MacBookPro


    Mountain Lion (latest/only version)


    Itunes is up to date as far as this morning is concerned (I check for software updates pretty much daily).


    External HD is a Western Digital My Book for Mac 1TB that is a few years old. I've had a few issues with it over the past with it improperly ejecting itself for no known reason but lately those incidents have increased and this weekend it started making some very nasty clicking noises.  I've decided to replace this HD and have a 3TB LaCie on it's way.


    The issue that concerns me is when I get the new HD I should be able to attach it to my MacBookPro through a USB hub so both external HDs are attached to the machine at the same time. 


    I'm wondering what is the best way to move all of my Itunes (and Iphotos and my Ipod, Iphone, and Ipad) to the new drive with little to no loss of data.


    Any thoughts or advice would be greatly appreciated.


    Thanks for listening!

  • turingtest2 Level 9 Level 9 (61,165 points)

    Hi. Are library files on the external too? Old layout or new one?


    If new layout and all on external you should be able to copy the entire iTunes folder to the new drive and option-start-iTunes to connect to it.


    Otherwise I would start by connecting your new drive and making a folder at <Root>/iTunes/iTunes Media on it, set this as your media folder and use File > LIbrary > Organize Library > Consolidate files (or iTunes may prompt you when you change the folder). If library in old layout use File > LIbrary > Organize Library > Reorganize files in folder "iTunes Media" and then consolidate again (doing it in this order cuts down the workload on the old drive). Then, if you want, copy the library files into <Root>/iTunes and option-start-iTunes to make your library portable.



  • strangegeek Level 1 Level 1 (0 points)

    At the risk of sounding a little clueless I'm not sure what you mean by old or new layout? 


    When I go to Itunes Preferences > Advanced Settings and look at Itunes media folder locations it says "/Volumes/My Book/Itunes" which is on my old external hard drive.

  • turingtest2 Level 9 Level 9 (61,165 points)

    See this post earlier in the thread for a diagram. The layout on the left is old school. The one on the right has an extra folder called Music into which all the artist folder get put, but more importantly Mobile Applications is inside the media folder instead of in the libray folder.


    Given your media folder is where you say its is a fair bet that your library files are going to be in <User>/Music>/iTunes on the internal drive so you have a split library.


    When you get the new drive do it like this:

    1. Create the folders /Volumes/<Lacie>/iTunes and /Volumes/<Lacie>/iTunes/iTunes Media.
    2. Set your media folder to /Volumes/<Lacie>/iTunes/iTunes Media and let iTunes copy the files to the new location when it asks.
    3. If the media folder is in the old layout use File > LIbrary > Organize Library > Reorganize files in folder "iTunes Media" and then File > LIbrary > Organize Library > Consolidate files.
    4. Copy the library files from <User>/Music/iTunes  into /Volumes/<Lacie>/iTunes and option-start-iTunes to make your library portable. [Optional]



  • strangegeek Level 1 Level 1 (0 points)

    Very helpful - Thank you TT2!


    If I may ask a few more questions - you said it appears I have a "split library", is there anyway to consolidate this while I'm making the move?


    I'm a little confused as to step #4 in your post above:



    Copy the library files from <User>/Music/iTunes  into/Volumes/<Lacie>/iTunes and option-start-iTunes to make your library portable.[Optional]


    I know this sounds like a really dumb question but what does this do exactly and how do I do it - just hold down the option key while I start up Itunes?


    Again - thank you for your patience and help!

Previous 1 2 3 Next