Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 10:55:37 +0000
From:      Ollie Cook <ollie@uk.clara.net>
To:        Bill Campbell <freebsd@celestial.com>
Cc:        freebsd-isp@freebsd.org
Subject:   Re: Managing Maildirs
Message-ID:  <20031222105537.GI22954@mutare.noc.clara.net>
In-Reply-To: <20031221205822.GB2951@alexis.mi.celestial.com>
References:  <20031219165302.GA51410@ns2.wananchi.com> <20031219190055.GD85955@alexis.mi.celestial.com> <20031221120650.GB4588@mutare.noc.clara.net> <20031221205822.GB2951@alexis.mi.celestial.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@uk.clara.net                  020 7903 3065



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031222105537.GI22954>