Fast file scan
Jim Burns
gt0178a at prism.gatech.EDU
Wed Oct 3 12:16:38 AEST 1990
in article <MIKEP.90Oct2103839 at dirty.csc.ti.com>, mikep at dirty.csc.ti.com (Michael A. Petonic) says:
> In article <143198 at sun.Eng.Sun.COM> lm at slovax.Sun.COM (Larry McVoy) writes:
>>Lines: 14
>>I would probably use ftw(3). I've found it a useful tool.
> I can't see how
> find . -type f -print | xargs fgrep foobar
> is too slow... If there were any speed advantage in hand crafting
> a program to do the same, I'm not sure it would be worth doing so.
Be warned that (usually) find (and du) don't follow symbolic links -
ftw(3) does.
--
BURNS,JIM
Georgia Institute of Technology, Box 30178, Atlanta Georgia, 30332
uucp: ...!{decvax,hplabs,ncar,purdue,rutgers}!gatech!prism!gt0178a
Internet: gt0178a at prism.gatech.edu
More information about the Comp.unix.misc
mailing list