[NTLUG:Discuss] Re: Is there a command line utility which will report directory statistics?

Graham Wilson graham at mknod.org
Thu Jan 19 02:11:05 CST 2006


On Thu, Jan 19, 2006 at 06:20:47AM -0600, Leroy Tennison wrote:
> Such things as number of files,

find $dir -type f | wc -l

> number of subdirectories,

find $dir -type d | wc -l

> size? 

du

-- 
gram




More information about the Discuss mailing list