in reply to Re: How do I put all sub-directories into an array?
in thread How do I put all sub-directories into an array?
That's almost what I want but lists all the sub-directories below /home/www.
What I actually want is the third-level directories only i.e. the name_of_virtual_host directories only in the array, not all the directories below this level too.
My directory structure is /home/www/name_of_virtual_host/dir4/dir5/etc.
Can I use finddepth here to recurse down to the third level directories only?
Wylie
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: How do I put all sub-directories into an array?
by kodo (Hermit) on Jul 23, 2002 at 10:56 UTC | |
by merlyn (Sage) on Jul 23, 2002 at 12:49 UTC | |
by kodo (Hermit) on Jul 23, 2002 at 16:59 UTC | |
by wylie (Novice) on Jul 24, 2002 at 08:21 UTC |