procmail
[Top] [All Lists]

Re: moving from new to cur

2000-10-22 15:40:47
Oh bother.  It's ":2,S" rather than ",2:S" -- feh.  Make the TRAP assignment
as follows:

 TRAP='case "$LASTFOLDER" in ; \
 */new/*) mv $LASTFOLDER $LASTFOLDER:2,S ; \
          mv $LASTFOLDER:2,S `expr "$LASTFOLDER" : "\(.*/\)new/.*"`cur ;; ; \
 esac'


_______________________________________________
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>