How to list today's files

Hi,

I am trying to list names of only today's files OR say, files which are not older than 1 hour and copy them in 'list.txt' file. I know,
:ls > list.txt will list all the files. But, how to list today's files? Any help will be appriciated.

here's a start
find ./ -depth -type f -ctime -1 -print > LIST

man find and check out ctime

Rick

This should help

find . -atime -2

from man find,

 -atime n
              File was last accessed n*24 hours ago.

Will -atime 2 be exact to retrieve today's file ?

I think -atime 0 would do.

-atime 2 retrieves exactly files accesed before two days. But -atime -2 retrieves files that were accessed in less than two days even 1 one day.

Hope this will help

find . -atime -1 > file_name

lists files accessed less than a day. Let us know if this helps