RE: Listing number of files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm wondering if it's not counting directories....

the find command after I saw that was like duh, much easier....

if you have time, just for giggles, try ll -R|grep ogg |wc -l and see if
that reports the same number as the find commands.

Jeremiah

-----Original Message-----
From: Dylan Parry [mailto:me@xxxxxxxxxxxxxx]
Sent: Wednesday, June 09, 2004 2:00 PM
To: For users of Fedora Core releases
Subject: Re: Listing number of files


On Wed, 9 Jun 2004 13:52:08 -0400, Matt Brodeur  
<mbrodeur+rhlp@xxxxxxxxxxxx> 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


-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux