on Wed, Sep 26, 2001 at 10:34:38AM -0800, Christopher S. Swingley ([EMAIL 
PROTECTED]) wrote:
> Hi!
> 
> I've been happily using mutt for several years now, and I've currently
> got 415 mbox files (mutt folders) in my ~/Mail directory, consuming
> 40 MB of space.  In the past when my Mail directory got too large,
> I've gone through and deleted the mbox files that I knew I wouldn't
> want in the future.

I weed most of my mailing list folders to a few days worth of messages.
You can use tagging to select date ranges.  'T' will tag a pattern e.g.:

    T ~d -30/6

...will tag all messages through June 30 of this year.

    T ~d 1/1-6/30

...will tag all messages from January 1 through June 30 (1st half,
2001).

For list mails, I just delete old stuff.  For personal mail, I save to
archive folders, arranged by quarter, so:

    ~/Mail/Archive/sent-archive-2001Q2.gz   # Jan-Mar 2001 sent mail
    ~/Mail/Archive/archive-2001Q3.gz        # Jul-Oct 2001 rec'd mail

I use the compressed folders patch for mutt to be able to read and write
compressed mailbox folders.  Note that if two processes are writing to
the same folder, you'll lose the contents of the first write.

> It seems like there must be a better way.  I picture some sort
> of script / program that parses each of your mbox files, looking
> for messages that are older than a certain date, and moving these
> message into a seperate mbox file that could be compressed, deleted,
> or parsed seperately.

Procmail, likely, as previously mentioned.  My method works for me
though.

Peace.

-- 
Karsten M. Self <kmself@ix.netcom.com>        http://kmself.home.netcom.com/
 What part of "Gestalt" don't you understand?              Home of the brave
  http://gestalt-system.sourceforge.net/                    Land of the free
   Free Dmitry! Boycott Adobe! Repeal the DMCA!  http://www.freesklyarov.org
Geek for Hire                      http://kmself.home.netcom.com/resume.html

Attachment: pgpvYAKvnVYB3.pgp
Description: PGP signature

Reply via email to