Find files older then today & display with timestamp info

Small query-

I want to do some operation on all the files older then today. Before I do that operation, i want to verify if the command works properly or not.

Surprisingly, the command below returns me file, which are created today -

find /mrk_archive/PG/ftp/incomming/gbs/2008 -type f -mtime +1 -print| ls -lst | more

Is there any other way to see the files selected by find , sorted as per the date with the timestamp information?

Thanks & a Happy New Year !!

mtime is the right option, just try incrementing to 2+. BTW, you can use -ls as an option to find rather than print and you won't have to pipe to the ls command.

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 .. !!