Nicolas -- ...and then Nicolas Rachinsky said... % % 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)
Yep :-) Just mutt_dotlock --help to see the options. % % > gzip can append :-) % % I think the compression is worse when you append, compared with % uncompressing, appending and compressing, but I will test it. There is a slight degradation because the dictionary with which you're working is likely to be smaller with less data to compress (IIRC), but the difference should be pretty minimal with text email (or the text encoded attachments therein). I bet that if you were to break apart your archive file into 100 pieces and compress each individually versus compressing the whole thing you wouldn't have more than a 5% size increase -- and as your archive file grows, that uncompressing and recompressing of the whole thing will get more and more painful. % % Nicolas :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/ Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
msg21360/pgp00000.pgp
Description: PGP signature