David T-G <[EMAIL PROTECTED]> wrote on Mon, 05 Jun 2000:
> I'm not sure I understand what you're asking, but I'll take a whack at
> it.
I didn't understand it either, but your guess does seem to make sense...
> You want mutt to have a save-hook that will specify a directory of
> mailboxes which changes based on the date, and you want to be able to
> save to that directory even if it has not yet been created, right?
>
> mutt doesn't have the ability to do this, AFAICT, at least with mbox
> format folders. mutt can make a new file (mailfolder) in a given
> directory, but it doesn't seem to use a call equivalent to "mkdir -p"
> when trying to do that (since it's not actually making a dir, and so it's
> not so unreasonable).
Actually, you could embed `mkdir -p <dirname>` in any command -- it gets
expanded but the result is an empty string. However the command does
run. :-)
Not sure how convenient this is, and likely it would mean that you end
up running lots of mkdir -p's on dirs that already exist. But, it might
not really matter, there probably wouldn't be much of a performance
impact.
Regards,
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 /
<-------- The information went data way -------->