Q:

find mindepth 1 maxdepth 1

find(1) ~/Projects -mindepth 1 -maxdepth 1 -type d
search for files in a directory hierarchy

find [-H][-L][-P][-D debugopts][-Olevel][path...][expression]
-mindepth levels
      Do not apply any tests or actions at levels less 
      than levels (a non-negative integer).   
      -mindepth1 means process all files except 
      the command line arguments.   
-maxdepth levels
      Descend  at  most  levels  (a  non-negative  integer) 
      levels of directories below the command line arguments.
      -maxdepth 0 means only apply the tests and actions to the 
      command line arguments.
 -type c
       File is of type c:
       d      directory
       l      symbolic link;
1

New to Communities?

Join the community