$ find . -type file | wc -l ----- Original Message ----- From: "Kliment Andreev" <[EMAIL PROTECTED]> To: "Doug Hardie" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, December 02, 2002 2:42 PM Subject: Re: File Counts
> > How do I get a count of the files in directories? I need to be able to > > get a listing of the number of files in a directory and counts for the > > files in each sub-directory. > > % ls -l | wc -l (In a directory) > % ls -lR | wc -l (Including sub-directories) > > > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
