Delete old file and keep a few file

hi,
I need create small program how to delete all file in directory BUT need keep file for a few day ( ie. 60 days). my variable id ddmmyy*.*. I'm using AIX.

tq

Why can't try find?

find dir_name -name "filename_pattern" -mtime +60 -exec rm {} \; 

Hi dennis.jacob

I already try this command, but still can not

What error do you get?