procmail
[Top] [All Lists]

preserving last 32 messages

1998-10-28 12:58:41
Can someone tell me what's wrong with the following code? It is supposed to
preserve the last 32 messages, but I currently have over fifty messages in
my backup directory. I am using the following code from one of Gross'
tutorials.

:0 c
backup

:0 ic
| cd backup && rm -f dummy `ls -t msg.* | sed -e 1,32d`


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