procmail
[Top] [All Lists]

Re: Increasing number of backup emails

2006-09-13 11:13:07
* Cyndi Norwitz <cyndi(_at_)tikvah(_dot_)com> [09-13-06 14:07]:
I have the following lines in my .procmailrc file:

# Create a backup cache of 100 most recent messages in case of mistakes
:0 c
backup

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

 .... 

I have lots of unused disk space and I would like to increase my cache to
1000 files.  But I can't see an obvious way to do that from the lines
above.

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

-- 
Patrick Shanahan                        Registered Linux User #207535
http://wahoo.no-ip.org                        @ http://counter.li.org
HOG # US1244711         Photo Album:  http://wahoo.no-ip.org/gallery2

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail