Loading ...
Sorry, an error occurred while loading the content.
 

find

Expand Messages
  • y.nikhileshwar
    is it possible to use options maxdepth and mindepth both at a time in find command ,i have tried but iam not getting the output .i have 10 multilevel
    Message 1 of 22 , May 25, 2007
      is it possible to use options maxdepth and mindepth both at a time
      in find command ,i have tried but iam not getting the output .i have
      10 multilevel directories in that iam using the command and iam
      copying a file into that by using this command


      find . -maxdepth 2 -mindepth 1 -type d -exec cp john {} \;

      can i use the command like this,can i perform any arthimetic
      caliculations with maxdepth & mindepth like maxdepth +2 and mindepth -3
    Your message has been successfully submitted and would be delivered to recipients shortly.