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

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



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 8010 co uk    | computer is that if
 |U|           |   Tel: 0113 249 7027         | they foul up there's
               |   Mob: 0788 061 3892         | no law against whacking
               |   MSN: cgtinson hotmail com  | them around a bit."
--------------------------------------------------------------------------



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