Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
listing sub-drectories with most files in
- X-seq: zsh-users 16301
- From: zzapper <david@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: listing sub-drectories with most files in
- Date: Fri, 2 Sep 2011 15:24:14 +0000 (UTC)
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- Organization: SuccessTheory
Hi,
I'm grepping a tree (grep string **/*) and want to list the subdirectories
which have the most files. This is because the grep is taking ages and I'm
hoping I can exclude some of these.
I guess an easy job for zsh?
--
zzapper
http://zzapper.co.uk/ Technical Tips
Messages sorted by:
Reverse Date,
Date,
Thread,
Author