[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Get directories names



On Thu, Nov 11, 2004 at 11:42:29AM -0500, Tong wrote:
> Thanks everybody for the respond.
> 
> On Thu, 11 Nov 2004 09:57:21 -0500, Sudarshana Koushik wrote:
> 
> > Hang on ppl. Whats wrong with what one of previous posts
> > suggested....just use ls -d */ (dont forget the '/')
> 
> Yes, I think this is the most elegant solution (should be much much faster
> than the find solution). 
 
Well, maybe, but you may want to get rid of the trailing slashes 
and then you lose some of your elegance.

-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it." -Sacher M.



Reply to: