CaT wrote:
>
> > Can anyone demystify for me how to get a listing of directories _only_
> > with ls ?
> >
> > I've tried various combinations of parameters in addition to the -d and
> > can't seem to get it.
>
> Off the top of my head: ls -d */
Yes -- that works -- thanks.
Odd that, unlike other parameters, that it requires a wildcard to
generate dirs though.
> > Also what does "recursive" mean in this instance? -R I figure it means
> > listing subdirs but it doesn't seem to work quite that way.
>
> It means list the subdirs, and the subdirs subdirs anbd the subdirs, subdirs
> subdirs and so on. It's more orf a programming statement really as this
> is generally done by a function which calls itself until it's done displaying
> the directory structure (ie it recusrses).
>
> Gee. Now wasn't that a butt ugly explenation? :)
Just tirdinisous! Butt it works -- thanks.
Jamie