From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21651 invoked by alias); 15 Aug 2011 01:34:00 -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: 16235 Received: (qmail 29239 invoked from network); 15 Aug 2011 01:33:59 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.216.43 as permitted sender) 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= MIME-Version: 1.0 From: TJ Luoma Date: Sun, 14 Aug 2011 21:08:39 -0400 Message-ID: Subject: `ls *(.)` shows "just files", what shows "just folders"? To: Zsh Users Content-Type: text/plain; charset=ISO-8859-1 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