Find files in a directory which are older than 2 hrs

hi all,

I need to find files in a directory which are older than N hrs...
n can be 1,2,3,.. etc
when tried using -mtime option it gives all the files in the last 24hrs from the current time .

please help me out on this ..

thanks

you can specify in minute .here i have specified for 1 hr / 60 mins

find /mydirectory/ -mmin +60

when i tried executing the command it is returning an error saying "bad option" :frowning:
find: bad option -mmin

which unix ur using?

u can try amin instead of mmin , or try cmin

am using SUNOS 5.8
still i did not get any result...

find $PATH -type f -mmin +60

still the same ..error
i think my OS does not support this option
when i checked in man of Find command i do not find this option anywhere...

ya it is possible that amin is not supported in sol8.Asi have executed it with sol 10 and it works ok

so..is there any way out to get the result...
when i try using find with -newer option i have to create a temp file each time at the end of the script.
will that be fine...
can the "newer: command used with "time" instead of "filename" pattern like this ???

find . -newer "00:00" | xargs ls -ld