Hello,
* Jason Helfman wrote on 12 Apr 2000:
> I am wondering how I can automate, and gzip the messages from date from
> date a to date b, say for a full month.
As I am using the compressed folders patch, this is quite useful an
option :-)
My mbox-hooks look like
mbox-hook ! 'in-mutt-users' +lists/mutt-users/`date +%Y-%m`
so the messages are already stored in chunks of one month's mail.
And from my crontab:
0 1 1 * * /home/helms/bin/gzip-mailarchive
~/bin/gzip-mailarchive:
#!/bin/sh
gzip /home/helms/Mail/archiv/*/`date --date '1 month ago' +%Y-%m`
This combination does it quite well for me.
Regards,
Sebastian
--
"No worries." - Rincewind
Sebastian Helms - mailto:[EMAIL PROTECTED] (PGP available)