Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Selecting leaf directories only
- X-seq: zsh-users 3606
- From: "Akos Szalkai" <szalkai@xxxxxxxxx>
- To: Andrej Borsenkow <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- Subject: Re: Selecting leaf directories only
- Date: Wed, 7 Feb 2001 11:05:43 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <000001c090d9$cedda8b0$21c9ca95@xxxxxxxxxxxxxx>; from Andrej.Borsenkow@xxxxxxxxxxxxxx on Wed, Feb 07, 2001 at 10:44:31AM +0300
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <000001c090d9$cedda8b0$21c9ca95@xxxxxxxxxxxxxx>
On Wed, Feb 07, 2001 at 10:44:31AM +0300, Andrej Borsenkow wrote:
> **/*(/) gives me all (sub-)directories. Any easy way to get leaf directories
> only? I.e. in case
Isn't it true that the link count of leaf directories is exactly 2?
Therefore I would try **/*(/l2) .
Regards,
Akos
--
Akos Szalkai <szalkai@xxxxx>
IT Consultant
2F 2000 Szamitastechnikai es Szolgaltato Kft.
Tel: (+36-1)-4887700 Fax: (+36-1)-4887709 WWW: http://www.2f.hu/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author