Comment by bArray
10 days ago
I would go further with this, essentially matching patterns of files in certain directories. Another use case for example is removing old log files from a directory.
In any case, I would have it as a user option to carry through the action, i.e. "the following is scheduled for deletion saving X disk space, do you wish to continue?".
Yeah, a generic tool could be useful. Thanks for replying. It gave me some ideas!