find command using -mmin param

Hi Everyone,

I would like to know how to find a file which was created in the period of 20+ hours, in most common unix OS, the parameter -mmin is not supported (i.e, HP-UX, Solaris, LInux, AIX)

Could you help on this ??

-mmin is supported under most recent versions of GNU find.

I'm afraid to say that file creation time is not stored in the files inode and thus is impossible to find. -mmin refers to the time that the files data was last modified (which if you can guarantee that it hasn't changed since creation, "can" be used to indicate creation time, although this isn't a reliable and failsafe assumption).

Cheers
ZB

Try something like this - touch a file with a time 20 hours in the past, then find using -newer

touch -t 200411042000 dummyfile
find /path -newer dummyfile -print

well i knew the date so used (find . -mtime "days ago"