Remove files which created date before 10 days on HP-UX

Hi All,

Could you please let me know if there is any one can help to create a shell script to remove some files which is the created date for them greate than 10 days (sysdate-10)

Please try to email me on email removed

Thanks in advance,

Murad

find /path/to/files -name '*' -type f -mtime +10 -exec rm -f {} \;