Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
`ls *(.)` shows "just files", what shows "just folders"?
- X-seq: zsh-users 16235
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: `ls *(.)` shows "just files", what shows "just folders"?
- Date: Sun, 14 Aug 2011 21:08:39 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=VHGcnPSaIX60k4Eu83T5GiTKaF08dMD0EUGqngSjtBg=; b=m2HwOtuMwRctJr57eXomkbZpPc65pXz+wxLR2GDtpgqPpMz4Al47/jw8JJ5NDhbU7j +yfzoZnMXiMrC3abNHXNA0GmfTpcOreRPMpCeRbkoyMGLSYXzKoqONFNjGc4tzKU9bpA KJp63UTPPze/WhFa1+p3QsVup9UT+l75cAYyc=
- 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
Somewhere along the way I learned that
ls *(.)
will tell 'ls' to only show files (not links, not directories)
Is there a similar command which would show _only_ directories?
(I've been using `find * -maxdepth 0 -type d` but I assume this is
'more efficient')
TjL
Messages sorted by:
Reverse Date,
Date,
Thread,
Author