Move Itunes Library From Mac To Nas
- Move Itunes Library From Mac To Nas Pro
- Move Itunes Library From Mac To Nas Mac
- How To Transfer Itunes To New Computer
- How To Move Itunes Library
- Move Itunes Library From Mac To Windows
If your iTunes library has gotten a bit too big for your regular hard drive, it may be time to move it. If you don't want to lose your playlists, play counts, ratings, and other stuff that iTunes. Sep 10, 2012 – Rob. A: It’s important to keep in mind that iTunes Home Sharing is designed to work between the iTunes applications running on two or more computers, and does not provide any way to access the iTunes library on a NAS device directly. Therefore, to share the iTunes library from your NAS device, you will need to have at least one computer running to “host” the shared iTunes library. Centralize data storage and backup, streamline file collaboration, optimize video management, and secure network deployment to facilitate data management.
After decades of digital music, it's not unlikely if you've amassed quite the collection of music on your computer's hard drive. If your iTunes library is taking up too much space, you can move it off of your local drive and onto an external hard drive without breaking your music collection.
You can also transfer your entire iTunes library from one computer to another if you are migrating to a new Mac.
Before you start: Back up your Mac
Before making major changes to your computer, it's always a good idea to back up your data: The best way to back up your Mac is with a Time Machine routine in place, but you can choose an alternate backup option that's right for you.
What you will need
You will, of course, need the computer your iTunes library is currently on. You will also need the following:
- An external hard drive (and power source, if applicable)
- A USB cable to connect the hard drive to your original Mac
- A power source for your original Mac
- If you're moving to a new computer, your new Mac (and its power cable)
Step 1: Consolidate your library
Over time, it's easy for your music, movies, apps, and other iTunes content to end up stored in various places throughout your computer's hard drive. To ensure that you copy everything from iTunes over to an external hard drive, you should first consolidate your library. Even if you think your library has all your information consolidated already, it can't hurt to do a manual check before moving any data.
- Launch iTunes on your Mac.
Click File in the upper left corner of your Mac's screen.
- Hover your cursor over Library in the dropdown menu.
Select Organize Library from the secondary menu.
- Tick the box for Consolidate Files in the window that appears.
Click OK.
This process makes a copy of all files in the iTunes media folder, and leaves the original files in their current location.
Step 2: Move your iTunes Library to an external hard drive
- Quit iTunes.
- Connect your external hard drive to your computer using a USB cable.
- Click on Finder to open a Finder window.
Select your Mac's hard drive.
- Click on the Music folder.
Select iTunes and drag it to the external hard drive.
- Click Authenticate when prompted to give permission to move the iTunes folder.
- Enter your administrator password.
Click OK.
This process could take upwards of an hour or two, depending on how much data stored in your iTunes library.
Step 3: Redirect iTunes to the new location
Once you've transferred a copy of your iTunes library onto an external hard drive, you will need to set a new path for the iTunes app by redirecting it to search the external hard drive for content, rather than your local drive.
Move Itunes Library From Mac To Nas Pro
- Launch iTunes and hold down the Option Keyat the same time.
Click on Choose Library when the window appears.
- Select your external hard drive under Devices in the Finder sidebar.
- Click on iTunes.
Click Open.
Note: Until you delete the iTunes file on your local hard drive, you can switch which libraries iTunes uses by launching the app and holding down the Option key at the same time.
Step 4: Make sure it worked
If you performed the first three steps correctly, when you open iTunes, it should look the same as it did before. You can double-check to make sure the migration worked by checking the info of any content.
- Launch iTunes.
Select a song, podcast, movie, app, or other content.
- Right-click or Control-click on the song.
- Select Get info from the drop down menu.
Click on the File tab in the info window.
Look under Location to ensure that the content is now being stored under /Volumes/external hard drive name/.. instead of Users/local hard drive name/..
Step 5: Delete the old iTunes library
Once you have transferred a copy of your iTunes library onto an external hard drive and redirected iTunes to the new location, you can delete the iTunes folder on your local hard drive, freeing up space on your Mac.
Note: If you are making a copy to transfer to a new computer, you don't need to perform step 5 unless you want to remove your iTunes library from the old computer.
- Quit iTunes.
- Click on Finder to open a Finder window.
Select your Mac's hard drive.
- Click on the Music folder.
Select iTunes and drag it to the trash.
Make sure your external hard drive is connected to your Mac when you launch iTunes from now on. Otherwise, iTunes won't be able to find the files. If that happens, quit iTunes, connect your external hard drive to your computer, and reopen iTunes.
Step 6 [optional]: Move your iTunes library to a new Mac
Once you have your iTunes library on an external hard drive, you can relocate it to a new Mac.
- Quit iTunes on your new Mac.
- Connect your external hard drive to your new Mac using a USB cable.
- Open the external hard drive once it appears on your new Mac's screen.
- Click on Finder on your new Mac to open a Finder window.
Select your new Mac's hard drive.
- Click on the Music folder.
Drag the iTunes folder from your external hard drive into the Music folder on your new Mac.
- Launch iTunes and hold down the Option Keyat the same time.
- Click on Choose Library when the window appears.
Select your local hard drive under Devices in the Finder sidebar.
- Click on the Music folder.
- Click on iTunes.
Click Open.
Any questions?
Do you have any questions or issues with moving your iTunes library onto an external hard drive or onto a new Mac? Let us know in the comments and we'll help you out.
Power upAnker's PowerCore Wireless 10K charger is a battery pack without the fuss
Anker is out with a new wireless battery pack that'll keep things ticking along no matter where you are.
iTunes is something a whole lot of folks tolerate. It's never been the best at any particular thing (except perhaps activating and syncing your iPhone or iPad, where it's the only official game in town), but it certainly does a lot of stuff. Sometimes slow, sometimes crashy, and perpetually gaining features, it's the app we use every day but rarely with any joy. One of its more frustrating aspects is its lack of an officially supported server component—Apple seems stubbornly unwilling to provide a real iTunes server, and so folks who would otherwise happily centrally locate a media library on a perfectly suitable NAS are stuck with islands of music.
Building a central multi-user iTunes server that works consistently and well— that's also easy to configure and maintain without needing remote administration tools or command line hackery—is annoyingly difficult. However, it is relatively easy to take your iTunes library and simply move it to a NAS. It's not the house iTunes server we wish we had, but it does get your data off of your computer's local hard disk drive.
Why would you want to do this? The reason that pushed me down this path is solid state disks. As iTunes libraries go, mine's middle of the road—about 50GB, made up of a mixture of music, audiobooks, and iOS apps but lacking movies, TV, and podcasts. Still, that's 50GB of SSD space that would be taken up by files which, frankly, don't particularly benefit from being on an SSD. I could relocate them to an external drive, but I don't have any spare external drives with enough capacity. What I do have, though, is a Synology DS-412+ with plenty of space on it.
0010So, I chucked my library onto my NAS. The process was both far easier and far more difficult than I figured it would be.
What we're not doing
Let's be clear going in: this is not a guide on how to set up an iTunes server. We're not going to describe how to get your music centrally situated and available as an attached library for all your iTunes clients. There are lots of ways to do this, but they just don't stand up over time. Regardless of the method, there are drawbacks and caveats galore. Even third-party tools which automate some of the annoyances are at the mercy of iTunes updates breaking everything.
We're not going to talk through any of that stuff—not in this article, anyway. We're focusing only on taking your iTunes library and relocating it out of your home directory and onto a NAS (though the instructions will work mostly the same with a direct-attached external drive).
Prerequisites
One thing that you do need to have turned on is iTunes' library management function. This option has gone by many names in past versions of iTunes, but as of version 11 it's in the 'Advanced' tab of the iTunes preference pane. It reads 'Keep iTunes Media folder organized.'
This option gives iTunes control over where your media files live. When enabled, iTunes takes care of the file names and folder structure of your media library. This is an anathema to some folks, especially music collectors with their music carefully organized into expertly curated deep folder structures, but it's a requirement for this process. The movement of the library is an automated thing, and it relies on iTunes being able to automatically place the files where they need to be placed. If you've never toggled on that option, you'll need to do so in order to play along here.
Also, you need a NAS, or at least another computer with an available network share. You can follow along with an external drive, though not all of the steps will be applicable.
Why not just copy the files yourself?
Excellent question! The answer is that you totally can, but you'll lose metadata—play counts, ratings, last-played dates, and everything else that iTunes keeps in its database won't survive a manual copy. If you don't care about that stuff, then you don't need to do anything in this guide at all—leave the 'Keep iTunes Media folder organized' option set to off, remove all your files from iTunes (taking care not to actually delete them!), copy them to their new location, and re-add them to iTunes. Done!
However, if you've got a whole mess of ratings and other metadata you'd like to preserve, keep reading.
Getting started
To start, make sure the network share you want to use is mounted, and that you've got the correct permissions on it. Create a target directory inside the share, so that you have a specific folder to point iTunes at.
I've got a share on my Synology NAS called 'Music', and inside that I've created a folder named 'NAS iTunes'.
Next, pop into iTunes, open the application preferences pane, and click the 'Advanced' tab. The very first thing in the window is the 'iTunes Media folder location' box. Click the 'Change' button next to the box. You'll get a file picker dialog box, which you should point at the network folder you've previously created.
When you click 'OK' to close the Preferences pane, iTunes will ask you if you want to move and rename files in the new location to match the 'Keep iTunes Media folder organized' preference— say yes.
Now to actually move the files. This is easy, but it's also where my trouble started. Select File > Library > 'Organize Library.' This will start what could be a very long file copy, and if the copy completes successfully, you're probably done!
Move Itunes Library From Mac To Nas Mac
It might not complete successfully, though. I had several issues.
Dealing with trouble
Almost immediately, the copy job failed with a cryptic, absolutely unhelpful error message that said, simply, 'Copying files failed. An unknown error occurred (-50).' Googling the error led to a large number of results but no clear solution: it appeared that error -50 is iTunes simply throwing up its hands in frustration and crying out for help. Worse, the location of all my iTunes music had been altered in the library, so a quick perusal of iTunes showed that every single item in my library was now listed as missing.
However, the problem actually turned out to be not entirely iTunes' fault. How to copy itunes library to another mac. The library consolidation failed when iTunes attempted to copy a song with a very, very long file name (for the curious, it was a song by The Video Game Pianist titled 'Sonic the Hedgehog 1 - Green Hill Zone, Stage Complete Theme, Labyrinth Zone, Marble Zone, Sonic Drowning Theme, Game Over Theme, Starlight Zone, Chaos Emerald Theme, Scrap Brain Zone, Spring Yard Zone, Game Over Theme, Extra Life Theme, and Ending Theme'). This bumped right into the 255-character filename limit on the Synology's ext3 file system, and the entire copy job aborted.
So, lesson one: know your target filesystem.
After shortening the file name, I ran into the second problem: re-selecting File > Library > 'Organize Library' no longer did anything. The first thing iTunes did before even starting the copy was update its internal library so that all its contents' locations were set to the new Library location, so as far as iTunes was concerned, everything was already copied. I had to manually copy my library to the new location.
This led to a third problem. The Synology NAS's ext3 file system, unlike the HFS+ on my local disk, is case-sensitive. A huge number of files in my library were suddenly showing up as missing, even though a spot check showed that the files were actually right where they were supposed to be. Manually re-linking them caused iTunes to automatically reorganize them to folders and file names that exactly reflected the files' metadata, leading to situations like this:
Notice that there are two 'The Best of 1980-1990' folders, one with a capitalized 'Of' and the other with a lowercase. Fixing this required quite a bit of song tag editing. Fortunately, the automatic library organization actually worked for me here, handling the deletion of extraneous folders after I'd fixed the song names. In the example listed above, once I'd found the one single song in the upper-case 'The Best Of 1980-1990' folder and modified its album metadata with a lowercase 'of,' iTunes moved the song to the correct folder and deleted the uppercase one. Still, tracking down all the exceptions took several hours.
Lesson two: know your target filesystem.
The third and final issue I had was due to my library's age. I've been using iTunes since about the time it was released for PC near the end of 2003. My poor library has been with me since, surviving version upgrades from 4.1 to 11, even going through a platform switch from Windows to OS X near the end of 2007 when I converted. As iTunes has gained features, it's directory layout had changed, and as a result I've got crufty extra directories and files stored all willy-nilly behind the scenes.
For example, underneath the iTunes Music directory is..another iTunes music directory, with a bunch of orphaned files in it.
That directory also contains a huge number of folders with more music.
And, inside of that, there's yet another Music folder, with, you guessed it, more orphaned music:
How To Transfer Itunes To New Computer
When iTunes attempted to consolidate my library to the NAS and the copy aborted, it also looks like it attempted to clean all of this up, fixing the iTunes database so that in the new location, everything was located where it should be in the current iTunes automatic organizational scheme—in album-named subdirectories under a single top-level folder. Because of the failed copy job, this didn't happen.
Because of the scattered state of my aged library, I had to then spend about another hour going through the library, re-linking missing files. This wouldn't have happened if the initial copy hadn't failed, which wouldn't have happened if I'd not had that one tremendously long file name.
Lesson three: For the love of all that is good and holy, know your target filesystem.
Auto-mount network shares
One final thing needs be done: with your library on a network share, it's important for that share to be mounted before iTunes starts up. For Windows users, this means that it's a good idea to assign your 'Music' NAS share a drive letter and set it to auto-mount on startup; OS X users can do the same thing by adding your Music volume to the 'Login Items' section of your account under the Users & Groups system preference panel. If you start iTunes without having its NAS share mounted, it will freak out and say all of your library files are missing.
Eventual success
After quite a bit of clean-up, the end result works quite well. The actual iTunes library file with its metadata is still on my local HDD, but all of my songs, iOS apps, and audiobooks are safely on my NAS. New files dragged-and-dropped into the library or new iOS apps downloaded from the app store are all automatically stored on the NAS in the library location. Now that the initial work is done, the system is self-maintaining.
How To Move Itunes Library
Folks with small iTunes libraries won't see much benefit from this, but if you've got a tremendous amount of stuff in your iTunes library along with some external space to store it, this is an excellent way to give you back a whole bunch of space on your boot volume.
This method works well with local disks, too, so if you have a big USB or Firewire external drive and you want to put your media on that, simply setting it as the library location in iTunes should do the trick—you won't even have to deal with the file system issues I had, since a locally attached external disk will almost certainly be formatted with the same filesystem as your source volume.
Move Itunes Library From Mac To Windows
It's not a whole-house iTunes server for multiple users, but it's a step closer. Stay tuned, though: we'll look at some methods for achieving a full-on iTunes server in the near future.
If you right click on the zip file and see the option 'Extract All' this should properly extract the installer and license file. How to transfer my itunes library from pc to mac.