How to Move an iTunes Library to an External Drive or USB Flash Stick

Oct 9, 2013 - Leave a Comment

Have you ever wondered if you can keep your entire iTunes Library on an external drive, freeing up disk space and providing for a portable music and media library? The answer is yes, you can, and it’s actually pretty easy to offload an entire iTunes collection to another drive, whether you’re using a Mac or Windows PC.

iTunes library on an external drive

There are plenty of reasons why you’d want to move an iTunes library to an external disk or USB flash drive, but owners of computers with limited drive space may find this particularly useful. Using this trick you can offload a music library to a secondary external drive and not have it consume your limited internal disk space, which is particularly helpful for the MacBook Air and other SSD based Macs with smaller internal storage capacity.

If you’re wanting to go the USB flash drive route with a portable Mac (or PC), it’s best to use one of the tiny USB flash drives like the one shown above, they are cheap, incredibly small, and offer plenty of storage for most music libraries. Many flash drives are so small these days that they are barely noticeable when connected to a portable computer, often just a little nub sticking off the side of a USB port.

Assuming you have an external USB drive or flash disk ready, let’s get started moving the iTunes collection over to it.

Transferring an iTunes Library to an External Drive

This process will move the entire iTunes library to an external drive where it will retain it’s use but not take up primary internal disk space:

  • Open iTunes and choose the “Advanced” tab
  • Look under “iTunes Media folder location” to see the current location, select and copy that path
  • Go to the Finder in OS X (or Windows Explorer if you’re on a PC) and navigate to the iTunes library file path, it’s usually at the following location on a Mac:
  • ~/Music/iTunes/

  • Connect the external drive to copy the iTunes library to
  • Looking at the ~/Music/iTunes/ folder, copy the “iTunes Media” folder onto the external drive with a drag and drop, let the file transfer finish before doing anything else
  • Copy the iTunes Library to the external drive

  • Now go back to iTunes and under “iTunes Media folder location” choose the “Change” button to select the new location
  • Change iTunes Library Location

  • Navigate to the external drive you just connected and copied the library to, and select the newly copied “iTunes Media” folder, then choose “Open”
  • Select the external iTunes Library path

  • Choose “OK” to confirm the selection of the new iTunes media folder

Keep in mind that copying an iTunes library to an external drive means that the external drive must be connected to the computer in order to access the media, be it movies or downloaded apps, movies, and TV shows through iTunes.

If you’re moving the library to save hard drive space, you’ll probably want to delete the iTunes Media directory from the primary hard drive when it’s finished copying over. You can do this by looking at the “Advanced” Preferences tab and verifying the external drive is now the location, shown in teh screenshot below with an external flash drive named “Untitled”.

iTunes Library on an external drive

There shouldn’t be any problems with this at all, but double-check that music plays as intended before removing the library from the computers built-in drive.

For those wondering, yes, this also works with mounted network drives but there are drawbacks to that approach, and you’d be better off using Home Sharing to stream an iTunes collection around a house or local network. The same recommendation applies for sharing an iTunes collection between Macs and PC’s, which is best handled through networking, or with a full-fledged media transfer between the PC and Mac.

Generally speaking, flash drives and external SSD drives are best for offloading an iTunes library because they are faster and they don’t have the wake/sleep spin-up lag that can occur with traditional external hard drives. Nonetheless, it does work with an old fashioned spinning drive just fine, though you may sometimes encounter a slight lag if the external drive is asleep when you launch iTunes. You can also move the library around on a partitioned drive, though there isn’t much benefit to doing so unless you want to swap it out with another user account or just keep it somewhere else, that process is similar and has been covered before.

Changing the iTunes Media Folder Back to Default

iTunes logo No longer want your iTunes collection on an external drive? YOu can easily reset it to the default location, though you’ll probably want to transfer the library back to the computer first using the same process that is outlined above. When the iTunes library is back in it’s original location, just do the following:

  • Connect the external device to the computer, and copy the iTunes Media folder back to the ~/Music/iTunes/ directory
  • Launch iTunes, go to the Advanced tab of Preferences, and choose “Reset” under ‘iTunes Media folder location” to change it back to the default setting – in order for your previous library to be accessible it must be stored at the same location, otherwise just choose the “Change” option and navigate to it’s new location

That’s all there is to it, you’ll be back to the default settings and iTunes Media will be back to where it was.

Enjoy this tip? Subscribe to the OSXDaily newsletter to get more of our great Apple tips, tricks, and important news delivered to your inbox! Enter your email address below:

Related articles:

Posted by: Paul Horowitz in iTunes, Mac OS X, Tips & Tricks

Leave a Reply

 

Shop for Apple & Mac Deals on Amazon.com

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates