Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Get up to 16x more storage and 2x the speeds of the original drive
2018 MacBook Pro
$6299 $3899
15-inch 2.9 GHz Intel Core i9 6-core, 32GB, 4TB SSD, Radeon Pro 560X

Fantastic MBP at a great price!
LIMITED QUANTITY available.

Relocating Mail Off the Boot Drive

Last updated 2010-09-06 - Send Feedback
Related: backup, how-to, optics

This is an advanced tip.

If you have moved your entire home directory, then there is no need to do this.

This trick lets you move your Mail folder out of your home directory onto your data volume. I’ve used this technique for years so that I can forget about having to back up my home directory (default location for Apple Mail) and simply back up my one data volume: Master. The same trick can be used for any similarly irritating program that insists on storing its data in your home directory, rather than giving you a choice (a few programs are too brain-dead for this to work). Programs like iTunes let you choose where to put your music; use that option.

Moving it

Your Apple Mail folder is in the Library folder of your home directory.

The trick requires starting Terminal. If that makes you uncomfortable, stop here! You are going to make a symbolic link.

0. Quit Apple Mail, and make a backup of your mail folder.
1. Copy the Mail folder to the top level of your data drive (or elsewhere, then modify step 3 appropriately).
2. Rename the original mail folder to Mail.old as an additional backup.
3. Start a Terminal window and type:

ln -s /Volumes/Master/Mail Library/Mail

This makes a symbolic link to the folder Mail on the volume Master (type the name of your volume, and use quotes around it if the volume name contains a space character). The resulting file Library/Mail is a tiny file that says “look over there on /Volumes/Master/Mail instead”.

From here on out Apple Mail won’t know the difference! Launch Apple Mail and verify that it worked. If you encounter problems, simply copy your backup back into place.

Confirm the change

Here, I’ve relocated mail to the volume Master:

diglloyd:Library lloyd$ ls -l
total 8
...
lrwxr-xr-x    1 lloyd  staff    20 Aug 29 12:47 Mail -> /Volumes/Master/Mail
...
Apple 15-inch MacBook Pro
Only $4199 $2299

16GB / 2TB SSD / 2.9GHz / 4GB GPU

Apple Refurbished, Factory Sealed
Apple 1 Year Limited Warranty

OWC Thunderblade Thunderbolt 3 SSD
Gen 2!

Blazing fast, 1TB, 2TB, 4TB, 8TB.

Lloyd’s all-time favorite SSD!

√ No more slow and noisy hard drives!

MacPerformanceGuide.com
View all handpicked deals...

Apple 15.4" MacBook Pro with Touch Bar (Mid 2018, Space Gray)
$6299.0 $3899
SAVE $2400

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__