Re: [dev] coreutils / moreutils - DC a directory counter

From: Calvin Morrison <>
Date: Wed, 17 Jul 2013 14:13:40 -0400

On 17 July 2013 14:07, Roberto E. Vargas Caballero <> wrote:
>> > Could we focus on the merit of the utility?
>> I cannot imagine any period in time where this would have been useful
>> for me over a simple `set -- * && echo "$#"', but whatever floats your
>> boat. Dependencies are much more costly than a small amount of time
>> saved (and dirs with >100k files are very niche).
> I agrre that this tool is useful only in corner cases, when the
> number of files in the directory is huge, and usually the number
> is very small, so it is not enough general for a coreutils package.

Good point, maybe large directories are a bit of a corner case. I'm not sure.

I rely heavily on unioned directories (go plan9!) so mine tend to get
large when working with many large datasets.

Does anyone use large directories often?
Received on Wed Jul 17 2013 - 20:13:40 CEST

This archive was generated by hypermail 2.3.0 : Wed Jul 17 2013 - 20:24:06 CEST