Date: Fri, 21 Jan 2005 17:14:22 +1100 From: Peter Jeremy <PeterJeremy@optushome.com.au> To: Darryl Okahata <darrylo@soco.agilent.com> Cc: freebsd-stable@freebsd.org Subject: Re: Very large directory Message-ID: <20050121061421.GA68808@cirb503493.alcatel.com.au> In-Reply-To: <200501202136.NAA13625@mina.soco.agilent.com> References: <200501201130.j0KBUKMZ066099@lurza.secnetix.de> <200501202136.NAA13625@mina.soco.agilent.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-Jan-20 13:36:30 -0800, Darryl Okahata wrote: > Since the original poster was willing to use -rf, wouldn't it be >better to do: > >cd /var/spool/directory ; find . -type f -print0 | xargs -0 rm -f The original poster mentioned that "find" wouldn't work: find(1) uses fts(3) which reads the entire directory into memory. -- Peter Jeremy
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050121061421.GA68808>