OK, how do I count files in a directory QUICK!!!

Matt Graham danceswithcrows at usa.net
Fri Jul 2 12:42:30 MST 2010


From: R P Herrold <herrold at owlriver.com>
> On Fri, 2 Jul 2010, Matt Graham wrote:
>> I'd think "ls -1U --color=never" would spit everything
>> out almost as fast as possible, considering.
> nope: 'ls' sorts

"man ls" and look up the -U option.  (This is not in *BSD ls; there you'd use
-f, which has other side effects in GNU ls.)

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see



More information about the PLUG-discuss mailing list