How to remove certain files older than <X> days old in QNX

Hi all,
I have to remove certain files (eg: .log) older than days in QNX 7.0 based embedded system. I tried find . -mtime . But it is giving me weird results. Did I understand the command correctly?

Thanks,
Lullaby

The mtime option lists all files that have been modified between NOW and X number of days ago. It does not tell you when they were created (could be years ago).

Using this link
serverfault.com/questions/12282 … -than-date

I would I believe you want

create ‘some_file’ having a creation date of 16 Mar 2010:

touch -t 201003160120 some_file

find all files created before this date

find . ! -newer some_file

Tim