From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 67 invoked by alias); 3 Sep 2011 15:13:40 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 16307 Received: (qmail 26488 invoked from network); 3 Sep 2011 15:13:38 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110903081320.ZM9630@torch.brasslantern.com> Date: Sat, 03 Sep 2011 08:13:20 -0700 In-reply-to: <20110903120208.GC11672@toggle.be> Comments: In reply to Thor Andreassen "Re: listing sub-drectories with most files in" (Sep 3, 2:02pm) References: <20110903120208.GC11672@toggle.be> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: listing sub-drectories with most files in MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Sep 3, 2:02pm, Thor Andreassen wrote: } } find *(/) | cut -d/ -f1 | uniq -c | sort -n That'll tell you how many files are in the entire tree below each local directory, but not how many files are in each subdirectory in the tree.