The UNIX and Linux Forums  


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 -->
  #6 (permalink)  
Old 05-29-2007
vgs vgs is offline
Registered User
  
 

Join Date: May 2007
Posts: 10
i am using sun Solaris.

i am trying to write a script which will display files from a particular folder(Directory)(should not include subdirectories) which are 2 hrs(this should be used like a variable so that i can change the time) older.

i tried using find command. but find looks in subdirectories also. I don't want to check in subdirectories.

files looks like:
12345600000.PDF
32455664647.XLS

appriciate your help.