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 10-04-2008
sparks sparks is offline
Registered User
  
 

Join Date: Sep 2008
Posts: 30
Question Can we compare time ...

Hi ...

Is there a possibility that timings from two files be compared??

If i have a set of files in a folder and i want to get the files only upto a particular time.
eg:
If i have the files

staff 2388 Oct 3 04:33 x.ksh
staff 3628 Oct 3 06:57 1.ksh
staff 32383 Oct 3 06:57 files
staff 280365 Oct 3 06:57 bakup
staff 140770 Oct 3 20:54 satsub1
staff 123000 Oct 3 20:58 satsub2

I want the list of files which are present before or equal to time 20:54

Is that possible with time???

thanks,