I'm sure many people here have some nice archiving macros, which would
simplify the commands you need to give to mutt...
As an example, you could define
macro index some-keystroke \
"<collapse-all><tag-pattern>~r>14d<enter>|gzip >> /some/archive/file.gz \
"mark and archive old (2+ weeks) messages"
and push "some-keystroke".
Or, maybe cleaner, make a special muttrc file for archiving, put the push
commands in there, and use "mutt -F muttrc-archive" e.g....
--
-e
On Wed, May 17, 2000 at 2:18 PM, Chris Green ([EMAIL PROTECTED]) typed:
> OK, a little think and look at the mutt manual has come up with
> reasonable ways of doing this. The initial 'design' (hack would be
> more like it!) would be as follows:-
>
> Use find to run down through the folder hierarchy
> Execute mutt for each mailbox/maildir found
> tag messages for a date range with T~r dd/mm/yy-dd/mm/yy
> save the tagged messages somewhere
> delete the tagged messages (optional)
>
> Now the only way I can see to execute the "T~r dd/mm/yy-dd/mm/yy", the
> save command and the delete command is by using mutt's -e command line
> paramter and a 'push' command. Does this seem a possible approach,
> and are there any significant limitations on the command line and
> 'push'?