Andy Westlake <[EMAIL PROTECTED]> wrote:
> Bit of an odd one but I need to know how many regular files there are on our
> system so I knocked together a little script, see below. Only problem is it
> seems to run out of memory as its running.
> Any thoughts on how I could improve it would be ve
Hi
I'm not sure why you want to look at /etc/fstab: why is it not sufficient to
recurse from '/'? Also, remember to skip /dev.
Cheers
- Roger -
- Original Message -
From: "Westlake, Andy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 1:02 PM
Subject: Coun
> -Original Message-
> From: Westlake, Andy [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, August 30, 2001 8:02 AM
> To: '[EMAIL PROTECTED]'
> Subject: Counting all the files on a system
>
>
> Bit of an odd one but I need to know how many regular files
> there are on our
> system so I kno