Tip: Use a symbolic link to force Mail.app downloads into the main Downloads folder in OSX

Mac OSX 10.5 introduced a setting in Mail.app Preferences to set where email attachments are downloaded to when you open them or when images are loaded in HTML emails. If you've never looked in the default 'Mail Downloads' folder you might just get a surprise as to how much junk is actually in there as it's not obvious that these files are building up! 

It is possible to change the location for these downloads so that it is in a more obvious location, but I found that even when setting an alternative to the default '~/Library/Mail Downloads' folder, such as the main 'Downloads' folder, that these attachments would still download in the default 'Mail Downloads' location. The solution to this problem was to delete the 'Mail Downloads' folder and create a symbolic link to my preferred 'Downloads' folder.

To do this you need to navigate to the 'Mail Downloads' folder which you'll find in your user account folder (the folder with your name and the Home icon), then go into the 'Library' folder and you should see the 'Mail Downloads' folder. Next step is to delete this folder and then fire up Terminal on your system - this bit requires a bit of command line entry but it's fairly straight forward. When you open up Terminal you should end up with a login prompt and you will be located within your user account files on the system, presuming this is the case we can get on with creating the symbolic link!

In the example below I am going to create a symbolic link to the main 'Downloads' folder that is used by Safari so that all downloads from either web browsing or email will end up in the same place:

ln -s ~/Downloads "library/Mail Downloads"

If all has gone well you should now find that any attachments you open from emails will now appear in your regular downloads folder instead of the hidden away Mail Downloads folder!


Meta

Tags: tip,apple,osx,unix

Originally published on 2010-02-08 10:29:45 by Rick Curran

Last edited on 2010-02-12 18:23:03 by Rick Curran

Permalink: http://suburbia.org.uk/blog/2010/02/08/102945.html

Visitor Comments:

Left by Fifi La Tapette on 2011-11-01 21:34:41 #

Yippee! Thanks, great tip.
Buh-bye mail downloads...
-Fifi

Leave a comment...

Comment Preview:




Music Converter Pro

Music Converter Pro

Quick music conversions to all popular formats. iTunes and Ringtone savvy.