The disadvantage is that you are going to spawn LOTS of rm -f processes, with the xargs approach you will spawn between 5% and 10% as many. <scw> On Wed, Jun 28, 2006 at 06:26:26PM +0200, Roberto Polli wrote: > Alle 18:21, mercoled? 28 giugno 2006, Stephen C Woods ha scritto: > > your expire limit (please note that the command syntax of find is painful.) > > > e.g. > > cd /w/maildirs > > /bin/find . -type f -ctime +180 -print | /bin/xargs /bin/rm -f > less pain if you do > /bin/find . -type f -ctime +180 -exec rm -f {} \; > > because you don't have to wait find to return before starting the removal of > mail ;) > > Peace, R. > > -- > > Roberto Polli > Babel S.r.l. - http://www.babel.it > Tel. +39.06.91801075 - fax +39.06.91612446 > P.zza S.Benedetto da Norcia, 33 - 00040 Pomezia (Roma) > > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Courier-imap mailing list > Courier-imap@lists.sourceforge.net > Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap >
-- ----- Stephen C. Woods; UCLA SEASnet; 2567 Boelter hall; LA CA 90095; (310)-825-8614 Unless otherwise noted these statements are my own, Not those of the University of California. Internet mail:[EMAIL PROTECTED]
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap