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

Mike Hebel rescue at sunhelp.org
Thu Dec 7 15:52:13 CST 2000


Thanks!

Boy - can't say I didn't get my money's worth out of this question!

Mike

-----Original Message-----
From: John Duksta [mailto:jduksta at genuity.com]
Sent: Thursday, December 07, 2000 3:50 PM
To: rescue at sunhelp.org; drone8of9 at crosswinds.net
Subject: Re: [SunRescue] Ok...newbie question...



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