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 > UNIX for Dummies Questions & Answers
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #7 (permalink)  
Old 09-07-2004
thanuman thanuman is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 24
I want to get all the files between start.file and end.file in the current directory only (not files in the sub directories).

find . -type f -name '*xyz*' -newer start.file ! -newer end.file -print

With the above command , Iam getting files in subdirectories of the current directory also... How to avoid this.. Can someone help us...