zsh-users
 help / color / mirror / code / Atom feed
* `ls *(.)` shows "just files", what shows "just folders"?
@ 2011-08-15  1:08 TJ Luoma
  2011-08-15  1:39 ` Pete Johns
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: TJ Luoma @ 2011-08-15  1:08 UTC (permalink / raw)
  To: Zsh Users

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


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2011-08-15 20:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-15  1:08 `ls *(.)` shows "just files", what shows "just folders"? TJ Luoma
2011-08-15  1:39 ` Pete Johns
2011-08-15  1:40 ` Michael Shick
2011-08-15  1:41 ` Vincent Lefevre
2011-08-15  1:43   ` Vincent Lefevre
2011-08-15  2:24   ` TJ Luoma
2011-08-15  2:48     ` Pete Johns
     [not found]       ` <CADjGqHuu7-=rK1OKyYw05n4LmZ4yVGEKGGbKwvjaUocHk2Qmqg@mail.gmail.com>
2011-08-15  7:00         ` Pete Johns
2011-08-15  7:18     ` Sebastian Tramp
2011-08-15 15:38 ` Tristan Webb

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).