Date: Thu, 20 Jan 2005 13:36:30 -0800 From: Darryl Okahata <darrylo@soco.agilent.com> To: freebsd-stable@freebsd.org Subject: Re: Very large directory Message-ID: <200501202136.NAA13625@mina.soco.agilent.com> In-Reply-To: Your message of "Thu, 20 Jan 2005 12:30:20 %2B0100." <200501201130.j0KBUKMZ066099@lurza.secnetix.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Oliver Fromme <olli@lurza.secnetix.de> wrote: > I would suggest trying this simple hack: > > cd /var/spool/directory ; cat . | strings | xargs rm -f 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 Slightly more typing, but more robust. -- Darryl Okahata darrylo@soco.agilent.com DISCLAIMER: this message is the author's personal opinion and does not constitute the support, opinion, or policy of Agilent Technologies, or of the little green men that have been following him all day.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501202136.NAA13625>