Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Applespider

macrumors G4
Original poster
I found this on a blog the other day and couldn't remember seeing it posted here but for those with large mailboxes and who transferred them from Panther, this might be useful

Apparently, when Tiger's Mail updates your Panther mailbox and converts from your mail mbox to elmx files, it doesn't do anything with your old Panther mail messages. They don't get deleted but nor do they serve any purpose any longer.

I ran the scripts yesterday (after making a backup) and got nearly a GB of space back so I figured it might prove useful to others too. Instructions are on the blog link above but just in case it vanishes - they're quoted below.

jpb's blog said:
Here's a list of commands to clear out the Panther grime. Make sure you have a backup of ~/Library/Mail, of course. Each line starting with find should be a separate command in a Terminal window.

find ~/Library/Mail -path "*.imapmbox/Cached*" -exec rm -v '{}' ';'
find ~/Library/Mail -path "*.mbox/mbox" -exec rm -frv '{}' ';'
find ~/Library/Mail -path "*.*mbox/content_index" -exec rm -frv '{}' ';'
find ~/Library/Mail -path "*.mbox/table_of_contents" -exec rm -frv '{}' ';'
 

russelljtdyer

macrumors newbie
Sep 29, 2005
4
0
Worked!

Thanks. That worked well. I was trying to set up my Mail directory to back up to my iDisk account daily, but it was showing a few hundred megabytes in size. I went through and deleted any file with an attachment to save the space, but it was frustrating me because the size of the directory was hardly shrinking. I ran your little script, though, and now I'm down to 30 megs of data. That's a much more agreeable amount to backup to iDisk.

Thanks.
 

Blue Velvet

Moderator emeritus
Jul 4, 2004
21,929
265
Thanks! Just the kind of thing that will come in handy when I start edging my way towards Tiger... :)
 

The Void

macrumors regular
Oct 29, 2003
122
0
Worked fine for me too. 'Only' saved me 350MB though :)

Thanks.

The Void
...................
Unstamped
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.