--FCuugMFkClbJLl1L
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Wayne Chapeskie spake thus:
> On Tue, Jul 02, 2002 at 01:20:01PM -0600, Rob 'Feztaa' Park wrote:
> > * because of the wonderful mbox-hooks, every time I leave a folder, all
> > the mails I read are moved into the appropriate archive folder.
>=20
> Do you have an example of how you set up the mbox-hooks automatically?
> I'm assuming a bunch of lines of the form
>     mutt-hook =3Dmutt-dev =3Darchives/2002-07-mutt-dev
> but I'm not quite sure how to get get the year and date in there
> automatically, since I doubt you update your .muttrc every month.

You could try this:

mbox-hook =3Dinbox =3Darchives/`date +%Y-%m`-inbox

But it gets better! Lets say I unsubscribe from one list and subscribe
to another... I don't even have to make a new mbox-hook, or delete the
old one! ;)

You see, I don't have a .muttrc. I have a perl script that generates my
=2Emuttrc for me, every time mutt is run. It automatically detects all my
mboxes, and writes mbox hooks for them ;)

--=20
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
Bureau Termination, Law of:
        When a government bureau is scheduled to be phased out,
        the number of employees in that bureau will double within
        12 months after the decision is made.

--FCuugMFkClbJLl1L
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9JeyxPTh2iSBKeccRAoDcAJ9EwGlZajocjJB9KRrAN0/BRmvTlQCfeQBb
kdG198Doc6b4HOO031Mv4ww=
=ZMbu
-----END PGP SIGNATURE-----

--FCuugMFkClbJLl1L--

Reply via email to