procmail
[Top] [All Lists]

Re: Quick and dirty rebuild of list messages

2011-03-18 10:37:08
On 18-Mar-2011, at 07:58, Bart Schaefer wrote:

On Fri, Mar 18, 2011 at 6:16 AM, LuKreme <kremels(_at_)kreme(_dot_)com> wrote:

Do I HAVE to create a simple procmailrc file to feed the command line or is 
there a way to just pass ".folder/" as the destination on the command line?

formail -s procmail -m "`echo :0\n.folder/`" > mbox work?

Presuming you meant "< mbox" …

Yes of course!

formail -s procmail -m DEFAULT="$PWD/.folder/" /dev/null < mbox

Ah, doh. I knew that once upon a time (I used that syntax when I migrated to 
Maildir from mbox in the first place. Doh)


-- 
THERE'S JUST ME, said Death. THE FINAL FRONTIER. --Moving Pictures


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)de
http://mailman.rwth-aachen.de/mailman/listinfo/procmail

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