From owner-freebsd-questions Mon Dec 2 19: 1:30 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5983337B401; Mon, 2 Dec 2002 19:01:29 -0800 (PST) Received: from english-breakfast.cloud9.net (english-breakfast.cloud9.net [168.100.1.9]) by mx1.FreeBSD.org (Postfix) with ESMTP id BEFA543EBE; Mon, 2 Dec 2002 19:01:28 -0800 (PST) (envelope-from Hostmaster@Video2Video.Com) Received: from localhost (localhost [127.0.0.1]) by english-breakfast.cloud9.net (Postfix) with ESMTP id 5AD8326E73; Mon, 2 Dec 2002 22:01:28 -0500 (EST) Received: from english-breakfast.cloud9.net (localhost [127.0.0.1]) by localhost (VaMailArmor-2.0.1.7) id 15172-4D8061D9; Mon, 02 Dec 2002 22:01:28 -0500 Received: from earl-grey.cloud9.net (earl-grey.cloud9.net [168.100.1.1]) by english-breakfast.cloud9.net (Postfix) with ESMTP id 2662926E55; Mon, 2 Dec 2002 22:01:28 -0500 (EST) Date: Mon, 2 Dec 2002 22:01:28 -0500 (EST) From: Peter Leftwich X-X-Sender: pete@earl-grey.cloud9.net To: Adam Weinberger Cc: FreeBSD LIST Subject: Re: File Counts In-Reply-To: <20021203023133.GU60177@vectors.cx> Message-ID: References: <20021203023133.GU60177@vectors.cx> Organization: Video2Video Services - http://Www.Video2Video.Com MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-AntiVirus: checked by Vexira MailArmor (version: 2.0.1.7; VAE: 6.16.0.0; VDF: 6.16.0.22; host: english-breakfast.cloud9.net) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 2 Dec 2002, Adam Weinberger* wrote: > >> (12.02.2002 @ 1826 PST): Peter Leftwich said, in 1.4K: << > > Here's another way I don't see listed: > > $ find . -type f | wc -l > > This means "find, starting right here, all files here and in subdirectories > > - then pipe the output through word count just the lines." > > > > You'd think FreeBSD would have a command similar to ls, df, du or a flag to > > the find command such as "-countitems" or something. > Why, when it's so simple to just type out "find|wc -l"? Peter, UNIX If you type "find" with nothing else, this generates a stderr (duh). > would be ghastly if a new command were made for every simple thing I was not suggesting a new command. I was educating in a friendly way. > anybody wanted to do. Instead of complaining about how FreeBSD doesn't I was not complaining. My comment was meant to draw a paralell or attention to the disparity between unix and Windows' File Explorer (which constantly lists in the status bar at the bottom, # of files, total filesize(s) and so forth). > have a command to do something, why not just make an alias? We all know how to make aliases, and the original poster is not Peter Leftwich. > # Adam > Adam Weinberger > vectors.cx >> adam@vectors.cx > FreeBSD.org << adamw@FreeBSD.ORG > Bayer Berkeley >> adam.weinberger.b@bayer.com > #vim:set ts=8: 8-char tabs prevent tooth decay. *From the bottom of my heart, you are kindly invited to shut the F up and leave my posts alone. -- Peter Leftwich President & Founder, Video2Video Services Box 13692, La Jolla, CA, 92039 USA http://Www.Video2Video.Com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message