ftw (Joe Pruett's descend).

Tony Olekshy tony at oha.UUCP
Sat Dec 16 05:46:46 AEST 1989


In message <564 at balthmus.tessi.UUCP>, joey at tessi.UUCP (Joe Pruett) writes:
>
> A quick hack I've used in a directory traversal program is to use the
> link count of . to determine how many subdirectories there are.  If .
> has no subdirectories, then you don't have to stat every file name.

This is great.
It's three times faster than find -print on my news spool directory.
I suggest you all grab <564 at balthmus.tessi.UUCP> and keep it handy.

--
Yours, etc., Tony Olekshy (...!alberta!oha!tony or tony at oha.UUCP).



More information about the Comp.unix.wizards mailing list