I have a server with a huge file system that is used for continues writes and reads without hiccups and needs to be active at all times.
My goal is to have a cronjob that deletes empty folders and files based on name and older than X amount of days.
The obvious answer is to use find -name -mtime -delete
but it uses too much disk resources and causing IO wait and other programs to miss their checks because of server unresponsiveness.
Is there any easy to use tool that does this kind of work? maybe limit disk usage? something else i haven't thought of?