Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?

Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?

Which command line option would you use to restrict the GNU find command to searching a particular number of subdirectories?

A.
–max-dirs

B.
-dirmax

C.
-maxdepth

D.
-s

E.
-n

Explanation/Reference:
from the man pages:
-maxdepth levels
      Descend at most <levels> (a non-negative integer) levels of directories below the command line arguments.



Leave a Reply 0

Your email address will not be published. Required fields are marked *