This will find and remove any files in the folder path specified in quotes that is older than 30 minutes
find "folder path" -type f -mmin +30 -exec rm {} \;
You can also modify this and search for things that are older than 7 days
find "folder path" -type f -mtime +7 -exec rm {} \;




