From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnold@skeeve.com Message-Id: <201509301432.t8UEWAhU005172@freefriends.org> Date: Wed, 30 Sep 2015 08:32:10 -0600 To: 9fans@9fans.net References: <20150930080111.F04E81103EBE@mac.korb> <8fb44c5359889dbe523888b5451eeb4c@brasstown.quanstro.net> In-Reply-To: <8fb44c5359889dbe523888b5451eeb4c@brasstown.quanstro.net> User-Agent: Heirloom mailx 12.4 7/29/08 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [9fans] Replacement for find Topicbox-Message-UUID: 6de63d6e-ead9-11e9-9d60-3106f5b1d025 Is there a C level equivalent of the BSD fts(3) suite of routines? Or even the System V ftw / GLIBC nftw suite? I suspect that having this would save some wheel-reinvention in these kinds of programs. Thanks, Arnold erik quanstrom wrote: > On Wed Sep 30 01:12:36 PDT 2015, charles.forsyth@gmail.com wrote: > > > On 30 September 2015 at 09:01, Wolfgang Helbig wrote: > > > > > But I consider it ugly, to ask for the disk usage if you just want to > > > recursively list all files. > > > > > > > It probably is not ideal, even when the circumlocution is hidden in a > > script. > > Perhaps find's syntax and conventions could be improved, though? > > 9atom has a relative of andrey's find. it takes very few options. > the -d and -D options are not easily duplicated with du.