J
jammer
I am trying to find all directories of a certain name.
I use `find . -name certainName -type d`;
I do not need to go below the current directory.
I tried adding -depth 1 to find but that doesn't do what I want.
Is there a 100% perl way of doing what I need?
I read the documentation for File::Find and it doesn't seem to only
find directories.
I use `find . -name certainName -type d`;
I do not need to go below the current directory.
I tried adding -depth 1 to find but that doesn't do what I want.
Is there a 100% perl way of doing what I need?
I read the documentation for File::Find and it doesn't seem to only
find directories.