I don't think that is the question he was asking... I was under the impression that by being able to "search" a directory, he meant being able to list its contents. Having execute permissions on a directory makes you able to "cd" through a directory, but does not let you list its contents. As such, a more appropriate test is being able to read the directory, and thus the file test operator he wants is -r.
In reply to Re: Re: opendir in file find
by skyknight
in thread opendir in file find
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |