How to Move Your iTunes, iPhoto or Aperture Library to an External Drive

How to Move Your iTunes, iPhoto or Aperture Library to an External Drive

Tutorial Details
  • Topics: Media, File Storage
  • Difficulty: Intermediate
  • Estimated Completion Time: 90 Minutes

As Apple moves towards solid state drives for their portable range, users are having to be more frugal with their storage requirements. In this tutorial, we’ll show you how to keep your large media libraries on an external drive and keep your portable Mac from filling up!


So What Changed?

Apple is making leaps and bounds in revolutionizing their portable range and one of the ways they are doing this is with the use of solid state drives (SSDs). These are faster, more reliable, require less power and generate less heat than a traditional mechanical hard drive. The downside? The cost-per-gigabyte is a lot higher than a more traditional mechanical drive. 1TB mechanical drives are commonplace but a 1TB SSD is still some way off and one thing is for certain – it’ll be expensive!

As of December 2012, a Western Digital 1TB portable internal hard drive costs $90.

A mechanical hard drive has hundreds of moving parts, but is cheaper than solid state drives

A mechanical hard drive has hundreds of moving parts, but is cheaper than solid state drives

A Crucial 512GB Solid State Drive is a staggering $398.99.

SSDs are still fairly new and the costs will only decrease over time

SSDs are still fairly new and the costs will only decrease over time

SSDs are still in their infancy and costs will only reduce over time. Just like we saw the first 1GB hard drives and the near-astronomical prices they commanded, the prices will (eventually) come down.

For Apple to switch to SSDs in their portables, yet keep the pricing at least reasonable, the compromise was storage size. With it, this means how we’ve used our Macs on a day to day basis needs to change.
I recently upgraded to a 2012 11” MacBook Air from a 2009 13” MacBook Pro. I’d upgraded the MacBook Pro with a 500GB hard drive yet my MacBook Air only has 128GB. One obstacle was my iTunes library – it currently stands at a rather large 400GB. It doesn’t take a mathematician to work out that 400GB into 128GB just doesn’t fit!

So if you’re in a similar situation, how can you make sure your portable Mac doesn’t get full? As we take more photos, download more music and videos, space is being used up quicker now than ever before . To combat this, we’re going to use an external hard drive. We’ll show you how to move your iTunes, iPhoto or Aperture library to an external hard drive.


Plan Ahead

Before we begin, we need to plan how much space on an external drive you’re going to need. It’s no good using a 500GB drive if your iTunes library is 490GB!

For any library you’re planning to move to an external drive (any or all of the ones we’ve described) then add up their total size and double it. Here’s an example which was the size of my iTunes/iPhoto/Aperture libraries:

  • iTunes – 400GB
  • iPhoto – 20GB
  • Aperture – 60GB
  • Total – 480GB

So my total media library storage is almost 500GB, so that means I’d look for a 1TB drive. I opted to purchase a 1TB Western Digital USB3 drive. It was cheap, USB 3.0 compatible (so it’s really fast) and had great reviews.

Why double the space? It’ll save you money in the long run. Sure, you could buy a 750GB drive but the cost difference is almost negligible and you’re future proofing yourself with a larger drive. It might’ve taken me about 7 years to accrue a 400GB library, but the amount of space used each year will likely be more than the last and that sort of trend will continue. 5 years ago, you couldn’t buy HD TV shows on iTunes, now you can.

Make sure to invest in a large capacity and high speed hard drive, you’ll thank yourself later!

Make sure to invest in a large capacity and high speed hard drive, you’ll thank yourself later!

Tip: Buy a USB3 drive, even if your Mac doesn’t support USB3. Now that Apple includes USB3 on all their portable Macs, you may as well buy a drive that’s future-proof as well as cost effective. It’s backwards compatible with USB2 and usually found to be at roughly the same price as a USB2 only drive. Sure, FireWire 800 is faster than USB2, but USB3 is extremely quick. Plus, FireWire drives usually cost a lot more and when you buy a new Mac you’ll then have to invest in a Thunderbolt-FW800 adapter. Save yourself the hassle and money!


Moving libraries

Now we’ve got our hard drive sorted, it’s time to move the libraries! Moving the libraries is actually a very easy process.

iTunes

For iTunes, we’ll assume you let iTunes manage your music and import it into the iTunes library (default options). If you have set iTunes to not import music so you can keep music elsewhere, you can skip this guide as you’ll know how to move your music anyway.

  1. Go to your Music folder that’s within your home directory.
  2. Drag the iTunes folder to your external hard drive.
  3. Let the files copy (this might take some time).
  4. Once copied, open iTunes while holding down the Option key.
  5. iTunes will now display a message to ask you choose a library, click Choose Library…
  6. Select the iTunes library on your external hard drive.
Your iTunes library can usually be found in your Music folder

Your iTunes library can usually be found in your Music folder
iTunes will display a message to ask you choose a library, click Choose Library

iTunes will display a message to ask you choose a library, click Choose Library

iPhoto

  1. Go to your Photos folder that’s within your home directory.
  2. Drag the iPhoto Library icon to your external hard drive.
  3. Let the files copy (this might take some time).
  4. Once copied, open iPhoto while holding down the Option key.
  5. iPhoto will now display a message to ask you choose a library, click Other Library…
  6. Select the iPhoto library on your external hard drive.
Your iPhoto library can usually be found in your Pictures folder

Your iPhoto library can usually be found in your Pictures folder
iPhoto will display a message to ask you choose a library, click Other Library

iPhoto will display a message to ask you choose a library, click Other Library

Tip: Unlike iTunes, iPhoto’s (and Aperture’s) library is displayed as a file. It’s actually a folder but appears as an icon to prevent inadvertent damage to it by the user.

Aperture

Aperture actually works both similar to iPhoto with some important differences. Aperture has two ways of managing photos – the iPhoto way of importing photos into its own library (known as Managed Files), or where only a link to a photo is imported but the original photo is actually kept in a folder somewhere on your Mac (known as Referenced Files).

Managed Files

If you use Aperture with the default settings of importing photos into your Aperture library, then use the following steps.

  1. Go to your Photos folder that’s within your home directory.
  2. Drag the Aperture Library icon to your external hard drive.
  3. Let the files copy (this might take some time).
  4. Once copied, open Aperture while holding down the Option key.
  5. Aperture will now display a message to ask you choose a library, click Other Library…
  6. Select the Aperture library on your external hard drive.
Your Aperture library can usually be found in your Pictures folder

Your Aperture library can usually be found in your Pictures folder
Aperture will display a message to ask you choose a library, click Other Library

Aperture will display a message to ask you choose a library, click Other Library

Tip: Similar to iPhoto, the Aperture library is displayed as a file but is actually a folder.

Referenced Files

Aperture also supports Referenced Files. This works in a more traditional way where you keep your photos on your Mac in folders somewhere and Aperture only manages versions. This means you can have a folder full of photos and importing them into Aperture doesn’t copy them into its library, it remembers that they’re elsewhere on the Mac. If you edit a photo, the edited version is kept inside Aperture, but the original is always in the folder you put it in.

If you store your original images outside of Aperture but just reference them, use the following steps.

  1. Go to your Photos folder that’s within your home directory.
  2. Drag the Aperture Library icon to your external hard drive.
  3. Let the files copy (this might take some time).
  4. Once copied, open your external hard drive in the Finder and create a new folder called “Referenced”.
  5. Open Aperture while holding down the Option key.
  6. Aperture will now display a message to ask you choose a library, click Other Library…
  7. Select the Aperture library on your external hard drive.
  8. Go to Photos, select all of them and then select File > Relocate Originals.
  9. Select the “Referenced” folder you created and then click OK.
Your Aperture library can usually be found in your Pictures folder

Your Aperture library can usually be found in your Pictures folder
Aperture will display a message to ask you choose a library, click Other Library

Aperture will display a message to ask you choose a library, click Other Library
If you’re using Referenced Files in Aperture, you’ll then need to move your referenced files using the File menu in Aperture.

If you’re using Referenced Files in Aperture, you’ll then need to move your referenced files using the File menu in Aperture.

The last step will move the original photos (wherever they’re stored) to the external hard drive.

Tip: If you’re using Aperture’s Referenced Files feature, then you’re likely to be quite an advanced Aperture user. As such, use the above steps as a guideline to your process. You may have a particular folder structure you want/need to adhere to. You may already have photos stored on a hard drive so consider steps 8 and 9 optional.

There are actually a number of other ways you can manage your libraries on external storage devices (such as network storage) as well as moving parts of your library so you can still have music on the move. For ease of use and to make this tutorial accessible to any level of skill, I’ve kept it to the simplest and easiest way that will benefit most users.


Backing Up

Tip: A common theme you may have noticed running through all my tutorials is the importance of backing up (I can’t stress enough how much a good backup plan is).

Now we’ve moved your libraries to an external drive, we need to have them backing up to your existing Time Machine backup.

  1. Open System Preferences
  2. Select Time Machine
  3. Click Options…. This brings up the exclusion list – the list of items not to backup.
  4. Make sure your external hard drive is not in this list. If it’s not, Time Machine will back it up. By default, it’ll be in the list so we’re just checking to make sure it is.

Freeing Up Space

Now we’ve made sure our libraries work from our external drive, it’s time to free up space!

iTunes

  1. Navigate to your Music folder.
  2. Move the iTunes library folder to the trash.

iPhoto & Aperture

  1. Navigate to your Photos folder.
  2. Move the iPhoto and/or Aperture library to the trash.

Before emptying the trash, open each application. If they all open correctly and everything is working and appears as it should be, you’re all done!

Hard Drive Unavailable

Let’s say you’re at a coffee shop and open iTunes but you didn’t connect your hard drive. iTunes will simply display the same Select Library message we saw when we opened the app while holding down Option. iTunes recognizes the library isn’t present, but it won’t simply create a new one and start getting everything mixed up. At that point, you can connect your hard drive and quit & re-open iTunes.

The same applies to iPhoto and Aperture, they’ll display a message asking you to select a library if it can’t find the default one.

Wrapping Up

By the end of this tutorial, you should understand how to store your iTunes, iPhoto and/or Aperture library on an external hard drive. Storing your media libraries on an external drive will ensure your portable Mac has plenty of free space and you don’t have to look to delete media just because you’re running out of space. If you’ve used any of these methods or have your own suggestions, please let us know in the comments below!

Jordan Merrick is jordanmerrick on Themeforest
Note: Want to add some source code? Type <pre><code> before it and </code></pre> after it. Find out more
  • http://www.facebook.com/profile.php?id=12406303 Robert Kyanberu

    I recently moved my iTunes library over to a 500GB MyBook connected to my Airport Extreme via its USB connector. Moving it went as well as one could expect over USB (slow) but what killed it for me was response time.

    There was a very noticeable delay in switching tracks, and I found streaming video to be completely intolerable. Perhaps this is because I added an additional degree of separation (Computer Router HDD) but I ended up moving everything back to my computer.

    • http://twitter.com/jordanmerrick Jordan Merrick

      Unfortunately the speed of wifi (even the latest 802.11n) in real world usage is much slower than USB which can cause performance issues when storing media libraries there as they’re originally designed to be accessed locally. If you were to keep the libraries on the USB drive but it connected to your Mac, I’d expect the speeds to be much better.

  • Thebray

    Is it also Posable to back up my iPhone and iPad Data to an external HDD? I literally have 500mb left on my MacBook and wanting to upgrade to the 64GB iPhone I just don’t have enough space on my internal HDD

    • http://twitter.com/jordanmerrick Jordan Merrick

      There are ways to do this but I would recommend at this point to look at moving some of your media libraries off your internal Mac’s drive. 500MB is enough to cause severe performance issues on your Mac and a sure-fire way to free up space is move things like iTunes off the internal drive. Whilst you could move the backups separately, it would be quite involved and would only delay the drive being filled up again.

      • Robertricky

        Don’t forget to back up your back up. Seriously. I had been using my WD 2TB drive to store my music , movies and pictures because I had over 1 TB of data. Well my external drive just mechanically failed, and now I’m looking at a min of $500 in data recovery.

        • http://twitter.com/jordanmerrick Jordan Merrick

          A great suggestion – A backup is a copy of data. Moving anything to an external drive doesn’t make it any safer – it still needs to be backed up all the same.

  • Islamic Event Finder

    You might have to write about a great backup plan for Macs. For some reason Time Machine not seem to rhyme-in for many and a good article might clear out some of the concerns.

  • Naive iMovie User

    Now how about a point-by-point tutorial on how to move one’s iMovie Library off of a tiny Mac laptop hard drive and onto an external one. Good luck!

    • http://twitter.com/jordanmerrick Jordan Merrick

      Great suggestion!

  • A-Dawg

    What about iMovie? or Final Cut Pro?

    How would you go about moving all those clips you have in those programs to an external hard drive? It seems all the clips and videos are spread around a bit.

    • http://twitter.com/jordanmerrick Jordan Merrick

      That’s a great suggestion and we’ll definitely look into it!

  • http://twitter.com/dougscripts dougscripts

    The instructions for moving the iTunes library are not quite right. Apple has a procedure for moving your library

    http://support.apple.com/kb/ht1449

    • http://twitter.com/jordanmerrick Jordan Merrick

      The Apple guide allows a user to move their media elsewhere but keeps the library file on their Mac so that iTunes only looks at the drive when it needs to directly access media (such as playing a song). It works really well and is definitely another way of doing it but it more assumes the drive will be connected at all times – for portable users that is usually not the case. I’ve found in the past that automatic downloads when iTunes is open but the drive isn’t connected can inadvertently put media on the Mac because the drive isn’t available. With the entire library located elsewhere, you need to have the drive connected to open iTunes, which means the media will definitely be available and avoid problems with downloads or inaccessible media.

      • http://twitter.com/dougscripts dougscripts

        If a user can’t be certain the target location for automatic downloads isn’t available then why allow automatic downloads? That just is asking for all kinds of trouble, like consistent dead tracks, and so on. A drive’s alias in Login Items will assure the drive mounts if it is available. For a portable device, well, the user should know when a drive is mounted or not and use iTunes accordingly.

  • http://twitter.com/xieem Maxime

    what about having these files stored on a NAS?

  • David Iwai

    The only problem with this method for iPhoto and Aperture is that you lose access to any movies you have stored in your library. they cease to be movies and become stills. I know I’ve done this twice and lost all my movies stored in iPhoto and Aperture. Any solutions?

    • JJ

      I would really love to hear a solution to this problem. I am planning to move my iPhoto library to an external drive and find it extremely worrying that I could lose my videos!!

  • Marci Talisman

    how will using a USB3 1TB external drive work with my macbook pro if what I have is only USB2?

  • Jamie

    Nice job, very smooth switch over.

  • Ian Walker

    will this work if using using EXTERNAL HARD DRIVE attached to USB port on TiME CAPSULE ( ie not hooked up directly to MAC BOOK AIR )

    also once copied – can the EXTERNAL be backed up to TIME MACHINE

  • Leanne Jones

    Thank you Jordan, this was exactly what I was looking for. My MacBook Pro was full to capacity and running slow, so I got an external hard drive for my large iTunes library and now it’s all done and backs up to my Time Capsule. Easy to understand instructions. Thanks again :-)

  • Spinnerbug

    Jordan, Outstanding. I did this for I tunes and I Photo and freed up some 75 gB on my mac book. In all my years I thought I was not quite right but you made it simply clear as to how to and WHY to do this. Simply backing up the music and photos on my Lacie TB drive was fine, but did not relive the storage quantity from my MACBOOK.

    I just purchased a SSD I Mac 27 in 512 GB drive system and will be using ext hard drives to store data and take advantage of the great new capability and speed of the SSD drives. I did not want the Fusion drive as I think that is a temporary fix to see if SSD can be made to store larger data, fast…as I know that is the real issue. Either way I learned alot from your article and thank you–Harry

  • Greg Williams

    Great instructions Jordon, but I think you’ve inadvertently contradicted yourself in ‘Backups’ point 4:
    “Make sure your external hard drive is not in this list. If it’s not, Time Machine will back it up. By default, it’ll be in the list so we’re just checking to make sure it is.”

    The way I read your instructions is that are you suggesting to move your iPhoto and iTunes library to an external HD and then back-up these libraries up to another HD (Time Capsule or whatever) via Time Machine.

    The first 2 sentences of point 4 are consistent with this, however you then go on to say: “By default, it’ll be in the list so we’re just checking to make sure it is.”
    But you don’t want it in this list because you want to back it up…

    If I’m reading your instructions correctly, the third sentence should read either:
    “By default, it’ll be in the list, so we’re just checking to make sure it isn’t.”; or
    “By default, it’ll be in the list, in which case highlight the external hard drive and click the ‘minus’ (‘-’) button.