Date: Mon, 2 Dec 2002 15:00:49 -0500 From: "Alan Day" <alanday@aaahawk.com> To: "Kliment Andreev" <klimenta@futurebit.com>, "Doug Hardie" <bc979@lafn.org>, <freebsd-questions@freebsd.org> Subject: Re: File Counts Message-ID: <008b01c29a3d$8398b1a0$7800000a@a> References: <7026DC6B-0622-11D7-B566-000393681B06@lafn.org> <002301c29a3a$f38733e0$ca0110ac@vinyl.tkvbp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
$ find . -type file | wc -l ----- Original Message ----- From: "Kliment Andreev" <klimenta@futurebit.com> To: "Doug Hardie" <bc979@lafn.org>; <freebsd-questions@freebsd.org> 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 majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008b01c29a3d$8398b1a0$7800000a>