Delete files older than x days

find /data/folder -type f -ctime +60 -exec /bin/rm {} \;


-type f : regular file
-ctime : File’s status was last changed n*24 hours ago.

Add -uid 400 if you would like to delete the files to user with uid 400.