Re: How do I list directories?

From: Arnoud (galactus_at_stack.nl)
Date: 06/28/05


Date: Tue, 28 Jun 2005 14:39:31 +0000 (UTC)

In article <BEE6C718.3515E%joe@wmdesign.net>, joe <joe@wmdesign.net> wrote:
>Which gives me everything. Is there some way to filter out the individual
>files, so all I get is the directory structure? I tried using grep to filter
>the results, but couldnąt figure out the right combination of argument.

You can use ls -ld to get a listing in which all the directories
are shown as files and not traversed.

With find . -type d -print you get a list of all directories.

Arnoud

-- 
Arnoud Engelfriet, Dutch patent attorney - Speaking only for myself
Patents, copyright and IPR explained for techies: http://www.iusmentis.com/