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
Mr. Steven Mestdagh just answered part of my question.
Thank you.
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
> 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
[EMAIL PROTECTED]:[~]$ find . -type f |wc -l
22509
man find(1)
Funny old thing, UNIX...
--
[EMAIL PROTECTED]
cyberpunk is dead. long live cyberpunk.
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
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
7 matches
Mail list logo