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 -->
  #3 (permalink)  
Old 01-02-2009
kedar.mehta kedar.mehta is offline
Registered User
  
 

Join Date: Jan 2009
Posts: 18
Thanks, man..

One surprising thing,

Both of command below returns me the same set of result.
  • find /mrk/ftp/incoming/gbs -type f -mtime +0 -ls
  • find /mrk/ftp/incoming/gbs -type f -mtime +1 -ls
Where as,
find /mrk/ftp/incoming/gbs -type f -mtime 0 -ls
returns results of previsous day.

Consider today is 2nd jan, then it shows all only results of 1st Jan .. !!

Last edited by kedar.mehta; 02-19-2009 at 05:11 PM..