Very large directory
Wolfgang Zenker
wolfgang at lyxys.ka.sub.org
Thu Jan 20 12:05:11 PST 2005
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
More information about the freebsd-stable
mailing list