Re: delete folder before writing to it

Robert Bonomi <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
> From [email protected]  Thu Nov  8 21:38:32 2012
> Date: Fri, 09 Nov 2012 04:37:49 +0100
> From: Eric Smith <[email protected]>
> To: Procmail List <[email protected]>
> Subject: delete folder before writing to it
>
> How do I delete a folder before writing to it. Trying this but
> the folder `last' is not (apparently) written to
>
>
> :0c:
> {
> :0c:
> backup
> :0f
> | rm $MAILDIR/last
> :0:
> last
> }
>

try ':0fw' instead of ':0f'.  Must 'wait' for the pipe to complete, before
starting the next recipe.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.