Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!think!mintaka!mit-eddie!uw-beaver!ubc-cs!alberta!oha!tony From: tony@oha.UUCP (Tony Olekshy) Newsgroups: comp.unix.wizards Subject: Re: ftw (Joe Pruett's descend). Summary: Great! Keywords: ftw descend Message-ID: <391@oha.UUCP> Date: 15 Dec 89 18:46:46 GMT References: <152@norsat.UUCP> <2586@unisoft.UUCP> <159@norsat.UUCP> <1989Nov21.070322.6352@dragos.uucp> <1989Nov25.232922.11072@eng.umd.edu> <564@balthmus.tessi.UUCP> Reply-To: tony@oha.UUCP Organization: Olekshy Hoover & Associates Ltd., Edmonton, Alberta, Canada. Lines: 12 In-Reply-To: Message <564@balthmus.tessi.UUCP> dated 9 Dec 89 01:06:48 GMT Return-Path: In message <564@balthmus.tessi.UUCP>, joey@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@balthmus.tessi.UUCP> and keep it handy. -- Yours, etc., Tony Olekshy (...!alberta!oha!tony or tony@oha.UUCP).