The UNIX and Linux Forums  

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 -->
  #1 (permalink)  
Old 08-31-2004
thanuman thanuman is offline
Registered User
  
 

Join Date: Mar 2004
Posts: 24
Lightbulb find command not giving file names accord. to timestamps

Currently iam working on solaris environment,
Iam using find command to get list of all files between any two given dates. But the find command is not listing files accord. to timestamp. I tried using -exec option as -exec ls -ltr {} \;
Still the files are not listed according to timestamp..
Can anyone help me on this..

find . -type f -name '*xyz*' -newer start.file ! -newer end.file
-exec ls -ltr {} \;