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 -->
  #6 (permalink)  
Old 08-03-2005
vino's Avatar
vino vino is offline Forum Staff  
Supporter (in vino veritas)
  
 

Join Date: Feb 2005
Location: Bangalore, India
Posts: 2,796
Quote:
Originally Posted by frustrated1
Seems like this is my best option so far:
touch /some_dir/some_file; sleep 600; find /some_dir -newer /some_dir/some_file

As I cannot install GNU find - as I want to run this on many servers and most of which I dont have root access...


The command above will list only the file name that are found to be newer..
How can I list the date/timestamp of only the files found aswell?
find /some_dir -newer /some_dir/some_file -name '*.*' -exec ls {} \;

Vino