[SA-exim] clearing out SAspamaccept
Tony Earnshaw
tonni at billy.demon.nl
Tue Apr 29 11:39:41 PDT 2003
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: tonni at billy.demon.nl
www: http://www.billy.demon.nl
Tony Earnshaw
More information about the SA-Exim
mailing list