Date: Thu, 20 Jan 2005 21:03:30 +0100 (CET) From: wolfgang@lyxys.ka.sub.org (Wolfgang Zenker) To: Phillip Salzman <phill@sysctl.net> Cc: stable@freebsd.org Subject: Re: Very large directory Message-ID: <m1CriWg-003pUXC@lyxys.ka.sub.org> In-Reply-To: <008001c4ff19$a38deff0$6745a8c0@MESE>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Phillip, > I've received a couple perl scripts from a few different people. I can't > use any of them until this evening due to the current load of the machines > though. Last night I ended up doing a strings on the directory, and taking > its output into a for loop removing the files. if you have a bit of time to spare, take a look at the xargs(1) manpage. Using xargs instead of a for loop would have saved you a lot of time and system load (and a little bit of typing :-) Wolfgang
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m1CriWg-003pUXC>