Listing *only* directories?

Kristofer Coward kris-y6ukv7ArdSHYtjvyW6yDsg at public.gmane.org
Tue Jan 13 05:39:04 UTC 2004


On Mon, Jan 12, 2004 at 11:53:59PM -0500, Henry Spencer wrote:
> On Mon, 12 Jan 2004, Peter Hiscocks wrote:
> > there appears to be no way to do a directory list of *only* the
> > subdirectories.
> 
> Unfortunately true, short of "ls -l | egrep '^d'".

If you're going to bring other tools into it, I think find can also
prove useful for this sort of thing (in several ways even)

-- 
Kristofer Coward				http://unripe.melon.org/
GPG Fingerprint: 2BF3 957D 310A FEEC 4733  830E 21A4 05C7 1FEB 12B3
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list