Found a few similar questions but were not quite a match.
I have a directory for backups (sql) and want to delete all files in that directory older then 7 days leaving any sub-directories intact.
This is what I have:
find /var/log/mbackups -mtime +7 -type f -delete
Is this the proper way to accomplish what I am after?