number of files in dir

2005-05-02 Thread Eugene Hercun
Hello, I am unable to find a command that will list the number of total files in a directory and all subdirectories. Thank you in advance. Eugene

Re: number of files in dir

2005-05-02 Thread eric
On Mon, 2005-05-02 at 22:20:43 -0700, Eugene Hercun proclaimed... > I am unable to find a command that will list the number of total files > in a directory and all subdirectories. > Thank you in advance. find -type f | wc -l

Re: number of files in dir

2005-05-02 Thread Bryan Allen
[EMAIL PROTECTED]:[~]$ find . -type f |wc -l 22509 man find(1) Funny old thing, UNIX... -- [EMAIL PROTECTED] cyberpunk is dead. long live cyberpunk.

Re: number of files in dir

2005-05-02 Thread steven mestdagh
> Hello, > I am unable to find a command that will list the number of total files > in a directory and all subdirectories. > Thank you in advance. just pipe the output of find(1) to wc(1): find . -type f | wc

Re: number of files in dir

2005-05-02 Thread Eugene Hercun
Mr. Steven Mestdagh just answered part of my question. Thank you.

Re: number of files in dir

2005-05-02 Thread Eugene Hercun
hah! I have 58740 files...anyway... I read through the man page, and I don't see any information regarding the '| wc -l' part. Funny, I did the same thing for FreeBSD and it gave me 9 (the number of files should be similar to the OpenBSD (58740)) Eugene

Re: number of files in dir

2005-05-03 Thread Bryan Allen
On May 3, 2005, at 1:59 AM, Eugene Hercun wrote: hah! I have 58740 files...anyway... I read through the man page, and I don't see any information regarding the '| wc -l' part. Funny, I did the same thing for FreeBSD and it gave me 9 (the number of files should be similar to the OpenBSD (58740)) If