procmail
[Top] [All Lists]

Re: creating directories (was Working Recipe)

2003-07-05 13:56:51
On Saturday, Jul 5, 2003, at 12:24 Canada/Mountain, David W. Tamkin wrote:
  * ! LISTNAME ?? ? test -d $MLDIR/$LISTNAME
  garbage=| mkdir -p $MLDIR/$LISTNAME

That's not a bad idea, but I don't think it really saves any time (testing the directory versus making the directory)

though it seems redundant to me to have $LISTNAME repeated in the filename if it's the name of the directory.

Otherwise I end up with mailboxes simply named "June" (or, actually, "06.2003") and while that's not a problem when they're in my "live" mail hierarchy, it is a problem when I move them into the "Old" mail hierarchy, so i want the listname in the name of the mbox.



--
I want a refund, I want a light, I want a reason for all this night after night after night after night


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>