The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 08-17-2008
mnnarendra mnnarendra is offline
Registered User
  
 

Join Date: Mar 2008
Posts: 8
unix find command

I need help with tweaking the unix find command. currently the find command searches all the directories under $div/users modified in the last 1 day.

find $div/users -type d -mtime +1

I need this changed to find only subdirectories and sub-subdirectories modified in the last 1 day under $div/users. the find should go only two levels, and not 4 levels below it is currently doing.