File layout

Devin Reade gdr at GNO.ORG
Sat Aug 24 15:54:55 IST 2002


Peter Nitschke wrote:

>> What's wrong with
>> find /var/spool/MailScanner/quarantine -type f -mtime +7 -exec /bin/rm -f
>> {} \;

> I saw something similar and got it happening, except it leaves the empty
> daily dirs in place.  Apart from that, I don't have any other need to work
> something out like that myself :-\

rm -rf `find /var/spool/MailScanner/quarantine -depth -type d -mindepth 1 -maxdepth 1 -mtime +14 -print`

--
        Devin Reade             <gdr at gno.org>



More information about the MailScanner mailing list