Managing Maildirs

Bill Campbell freebsd at celestial.com
Mon Dec 22 06:52:48 PST 2003


On Mon, Dec 22, 2003, Ollie Cook wrote:
>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. :)

That's true, but I learned a long time ago to avoid ``features'' specific
to any vendor as using them only causes me grief on other systems.

Bill
--
INTERNET:   bill at Celestial.COM  Bill Campbell; Celestial Software LLC
UUCP:               camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:            (206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When the customer has beaten upon you long enough, give him what he asks
for, instead of what he needs.  This is very strong medicine, and is
normally only required once.
    -- The Consultant's Curse:


More information about the freebsd-isp mailing list