[PLUG] Listing only directories

Rich Shepard rshepard at appl-ecosys.com
Tue Mar 2 09:39:01 UTC 2004


On Tue, 2 Mar 2004, Stafford A. Rau wrote:

> I can't think of a set of option for ls by itself that will just print
> directories recursively - but it's easy using find:
>
> find . -type d -print

Stafford,

  Much obliged! Works like a charm. I like it even better when I remove the
print option and pipe the output through sort.

Rich

-- 
Dr. Richard B. Shepard, President
Applied Ecosystem Services, Inc. (TM)
<http://www.appl-ecosys.com>




More information about the PLUG mailing list