On Sun, Dec 09, 2001 at 11:49:52AM -0500, David T-G <[EMAIL PROTECTED]> wrote: > That's easy: > > mutt_dotlock source_file > mutt_dotlock archive_file > grepmail -d "before date..." | gzip -9 >> archive_file > grepmail -v -d "before date..." > tmpfile > mv -f tmpfile source_file > mutt_dotlock -u archive_file > mutt_dotlock -u source_file
I wasn't aware that you can use mutt_dotlock in this way (especially it's so easy) > gzip can append :-) I think the compression is worse when you append, compared with uncompressing, appending and compressing, but I will test it. Nicolas