awk to print files in a dir between the given time stamp

hi all,

i want to print all the files in a directory.
between a time stamp
like $8>=07:00 and $8<=09:00.

please give me commands not only in awk by any other commands also.

Thanks.

ls -latr| sed -n '/ 07:00 /,/ 09:00 /p'

Don't forget you will see files that are between these hours from other days too, if they exist. So you might want to put a grep between the ls and sed for the specific day/date.

yeah thanks
zaxxon

In *nix

touch -t 200811140900 /tmp/latest
touch -t 200811140700 /tmp/oldest

find . -newer /tmp/oldest ! -newer /tmp/latest -exec ls -l {} \;