28 7 / 2011
Safely delete Mail Attachments from Terminal

Iyup, you can safely delete all those Mail attachments previously downloaded to your hard drive. Is it safe? In my case, it works! Bare in mind, all my email are stored online, thanks to Google IMAP service which enable us to read emails and at the same time sync them no matter from which devices we read our emails. Kewl, right?
As shared by andrejK at Apple Support Communities forum, when upgrading from Snow Leopard to Lion, it generate duplicates of the original mail database. You may click on the link for the explaination.
Well, in order to remove the Mail attachments, Copy-Paste the following code onto your Terminal
find -d ~/Library/Mail/ -type d -name Attachments -print -exec rm -rf {} \;
I have managed to gain whooping 10GB of storage. All the best!