(General Question) how to count how many files in a directory tree

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

 



Quick question for you smart bods out there

I know that "ls -1 | wc -l" will tell me how many files there are in the current directory..

how would I go about finding out how many files there are in the current directory *and* it's sub directories?

TIA

Craig
*
*

--
Craig Tinson

8010 Media Ltd

                                    \|||/
                                    (o o)
----------------------------------ooO-(_)-Ooo-----------------------------
_ _ /: Thbbft.  |   Craig Tinson               | "The most overlooked
\'o.O;   _/     |   8010 Media Ltd             | advantage of owning a
=(___)=         |   Email: craig@xxxxxxxxxx    | computer is that if
 |U|           |   Tel: 0113 249 7027         | they foul up there's
               |   Mob: 0788 061 3892         | no law against whacking
               |   MSN: cgtinson@xxxxxxxxxxx  | them around a bit."
--------------------------------------------------------------------------



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

  Powered by Linux