Eric Smith <[EMAIL PROTECTED]> wrote on Sat, 16 Oct 1999:
> | mutt -f folder-to-expire -e 'set delete;push D~r>20d<enter>q'

> BTW, how would one modify this so that insted of deleting it copies to
> another folder or even better adds it to a folder-to-expire.tar.gz.

You need to tag the messages instead of deleting (T, not D).  Then
you need to to add a second command which saves the tagged messages
to a folder of your choice, something like ";s=folder<enter>" added
before the quit.  Shouldn't be too difficult to work out.

If you want the backup folder to be gzipped, or added to a tar.gz
archive, you should easily be able to achieve this in the shell script
outside of Mutt.  No easy way to do it within Mutt.  Well, there's the
compressed folders patch which lets you have .gz folders, but I'd go
with an external script personally.


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"What I need is a list of specific unknown problems we will encounter."

Reply via email to