[SunRescue] Ok...newbie question...

John Duksta rescue at sunhelp.org
Thu Dec 7 15:50:14 CST 2000


Mike,

try this in the directory that you want to count files
$ find . -type f | wc

This will give you a count like so:
    2002    2002   93317
of which the second number will be number of
files in the directory and all the subdirs.

-john

> -----Original Message-----
> From: Mike Hebel [mailto:drone8of9 at crosswinds.net]
> 
> How do you get the number of files in a given directory?  I can get the
> total size, individual size, date, time, etc. but not how many files there
> are.  Does this show up anywhere easily?
>



More information about the rescue mailing list