Managing Maildirs

Ollie Cook ollie at uk.clara.net
Mon Dec 22 02:55:40 PST 2003


On Sun, Dec 21, 2003 at 12:58:22PM -0800, Bill Campbell wrote:
> >Using '-delete' rather than 'find ... | xargs rm' should be more efficient
> >still:
> >
> >    find /home/*/Maildir/.Trash -type f -mtime +30 -delete
> 
> Hmmm.  That would be nice, but it seems to be BSD-centric.  I don't see the
> ``-delete'' option in any version of find I have around, certainly not in
> the find from gnu:
> 	gfind . -name xxxxyyyyzzz -delete
> 	gfind: invalid predicate `-delete'

Well, forgive me, but this is a FreeBSD-centric mailing list. :)

Ol.
-- 
Oliver Cook    Systems Administrator, Claranet UK
ollie at uk.clara.net                  020 7903 3065


More information about the freebsd-isp mailing list