RE: clearing out SAspamaccept

Tony Earnshaw <[email protected]>
Newsgroups gmane.mail.exim.spamassassin
Message-ID <1051612443.29238.29.camel@localhost>
PÃ¥ ty , 29/04/2003 klokka 11:16, skreiv Thomas Kinghorn:

> Is there a way of clearing out the messages is SApermreject directory.
> i would like to clear messages older than 21 days.

> I was thinking of something like this
> find /var/spool/exim/SApermreject/new/ -mtime +21 -print0 | xargs -0 rm -Rf
> 
> For some reason I need the arg rm -Rf, not just rm.

Personally I never use the "xargs" stuff for 'find'. The following sort
of thing works for me:

cd /var/spool/exim/SApermreject/new
find . -mtime +21 -exec rm {} \;

Best,

Tony

-- 
Tony Earnshaw

Do not come to visit me with both arms the same length.

e-post:		[email protected]
www:		http://www.billy.demon.nl

Tony Earnshaw
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.