Re: delete folder before writing to it - solved

Eric Smith <[email protected]>
Newsgroups gmane.mail.procmail
Message-ID <[email protected]>
> try: 
>  :0c:
>  {
>    foo=`rm $MAILDIR/last`
>    :0c:
>    backup
>    :0:
>    last
>  }

Works like a dream.

> There's always:
>   :0c : last
>   | tee -a $MAILDIR/backup > $MAILDIR/last

Looks elegant, but I kept banging my head with it.

Thanks Robert for solving this for me.

Eric
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.