Very large directory
Darryl Okahata
darrylo at soco.agilent.com
Thu Jan 20 13:36:33 PST 2005
Oliver Fromme <olli at 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 at 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.
More information about the freebsd-stable
mailing list