Listing number of files

Dylan Parry me at dylanparry.com
Wed Jun 9 17:59:53 UTC 2004


On Wed, 9 Jun 2004 13:52:08 -0400, Matt Brodeur  
<mbrodeur+rhlp at NextTime.com> wrote:

>> ...for example, I could find out exactly how many OGG files I have in  
>> total :)
>
>    Something like:
> $ find . -type f -iname \*.ogg  | wc -l

Thanks, this does the job nicely. Jeremiah: your solution, although giving  
me a figure, seems to me a little out so I'm not exactly sure what else it  
is counting... :)

-- 
Dylan Parry
http://www.webpageworkshop.co.uk - FREE Web tutorials and references





More information about the users mailing list