Re: List of directories within a directory



Al Moodie <nospam@xxxxxxxxxx> wrote:
I have a directory with 200 sub directories in it. How do I create a
list of the sub directory names?

Didn't I just read exactly the same question from a name sake of yours in a
different NG? You may want to read up on the difference between
cross-posting (which is rarely appropriate) and multi-posting (which is
never justified).

Same answer as there: I would use File::Find and prune at a depth of 2.

jue
.



Relevant Pages