[plug] mbox archiving

Brad Campbell brad at wasp.net.au
Mon Aug 2 20:47:11 WST 2004


G'day all,

Another odd one here.
I use Thunderbird as my E-mail client. Due to being to subscribed to about 30 Mailing lists I have 
quite a few mboxes and am rapidly filling the drive of my poor little laptop.

What I'm after is some shell app/script I can run that will take an mbox as an arg that will copy 
out and remove any E-mail older than a specified number of days and tack it on the end of another mbox.

At the moment I have 2 complete dir structures with 30 boxes in each, one that Thunderbird uses 
actively and the other I drag-n-drop E-mails into when they start to age a bit. I'd like to be able 
to do something like

for i in *.mbox ; do march -age 60 $i ~/marchive/$i ; done

Where march is my wishlist vaporware app, and have it just grab the old messages and move them to 
the other mbox.

Anyone seen/done similar?

Regards,
Brad



More information about the plug mailing list