On 4/9/05 14:04, Andy Collins wrote:
Hi Neil,

On Saturday 03 Sep 2005 21:26, Neil Hughes wrote:

Which brings me to my question...is there a way to get a count of the
number of files in a directory and all its subdirectories, either from


To be honest here I'm not a Tiger user. In fact I don't even use MacOs much at the moment - Part of a vast eternal plan that hasn't come together yet. However I am a long time Linux/Unix user and if you get to a terminal and type :-

find . | wc

You should get there columns of numbers. the first two will be the number of files.

Oooo...thanks! That'll do nicely. Actually the first two numbers (line count and word count) are different here, presumably because of the spaces in some of my directory names.

Next, I need to see what happens with packages and whether they're treated as one file by the terminal or "expanded". After that I'll start implementing the line on my to-list which says "learn a new Unix\Linux command every week".

And to think I knew a fair amount of Unix shell stuff about 12 years ago...

Neil

--
Mac UK is sponsored by <http://lowendmac.com/> and...

123Inkjets.com <http://lowendmac.com/ad/123inkjets.html>

     Support Low End Mac <http://lowendmac.com/lists/support.html>

Mac UK list info:       <http://lowendmac.com/lists/mac-uk.shtml>
 --> AOL users, remove "mailto:";
Send list messages to:  <mailto:[email protected]>
To unsubscribe, email:  <mailto:[EMAIL PROTECTED]>
For digest mode, email: <mailto:[EMAIL PROTECTED]>
Subscription questions: <mailto:[EMAIL PROTECTED]>
Archive: <http://www.mail-archive.com/mac-uk%40mail.maclaunch.com/>

iPod Accessories for Less
at 1-800-iPOD.COM
Fast Delivery, Low Price, Good Deal
www.1800ipod.com

Reply via email to