find /path/to/files* -mtime +5 -exec rm {} \; # delete all files in /path/to/files* that are older than 5 days
admin