Change the location of the MobileSync Folder on a Mac

The MobileSync folder is used by iTunes to backup your iOS devices (iPod, iPhone, IPad, etc.) and, if you are like me and have a couple of these devices, it can grow to a very large size and take up a good amount of disk space on your harddrive. For me, it was taking up about 15GB of disk space. Which doesn't seem like a lot but when you only have a 120GB harddrive that has only 10% free space on it 15GB is a nice savings.

My solution for this problem was to move the MobileSync folder to an external harddrive (the same drive that happens to hold my iTunes library). The problem though is that iTunes doesn't give you a Preference setting with which to move it. So, here is how to move it.

  1. Copy or move your ~/Library/Application Support/MobileSync folder to your external harddrive. I typically copy a folder first incase there are errors and then delete the source folder. If an error happens while you are moving a folder you end up with some files in one place and some still in the original and it can be a mess to clean up.
  2. Now open terminal and run the following command, replacing <Your External HDD> with the name of your actual external harddrive:

    ln -s /Volumes/<Your External HDD>/MobileSync ~/Library/Application\ Support/MobileSync

Essentially what this does it create a symbolic link for the ~/Library/Application\ Support/MobileSync folder that points to the external harrdrive MobileSync folder and from iTunes point of view, nothing has changed and it works as normal.

On a Windows PC, here are some procedures that you can follow: how to move MobileSync backup folder?

sudo
Offline
Joined: 10/27/2011
Can't get it to work

Running OSX 10.7.2

I have two internal harddrives on my MBP: FILES HD and SYS HD where SYS HD is my 60GB SSD drive.

When i move (not copy) MobileSync from my SYS HD (/Library/Application\ Support/MobileSync) to my FILES HD (/FILES HD/MobileSync)

and paste this into Terminal

ln -s /Volumes/FILES HD/MobileSync ~/Library/Application\ Support/MobileSync

i get the error "No such file or directory"

 

What am i doing wrong?

smaier
smaier's picture
Offline
Joined: 05/24/2008
It looks like you didn't

It looks like you didn't escape the space between FILES and HD in your path.

ln -s /Volumes/FILES HD/MobileSync ~/Library/Application\ Support/MobileSync

should be:

ln -s /Volumes/FILES\ HD/MobileSync ~/Library/Application\ Support/MobileSync

sudo
Offline
Joined: 10/27/2011
YEP!

You are a genius!

I would never have guessed that!

It works! Thank you!

hx911
Offline
Joined: 05/25/2011
GREAT JOB

solved my issue - the directory was 16GB, now on a removable (external) HD

Thanks!