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