>Hello Everyone,

>I am writing a utility that needs to index the files contained within
about 500 directories (some nested). I want to provide the >script with a
top directory and have it recurse through everything underneath while
indexing the files within each. I've searched >Google and can't seem to
find a way to do this. I know how to get all files within a directory but
how do I RECOGNIZE my >directories so I can descend into them to index?

>Thanks in Advance,
>Anthony Saffer


if (-d $val){
#do stuff
}

look out for long file names when globbing.




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to