Pity, I hoped you'd knew.
You can imagine the background. Covid-19 has this delayed side-effect of swollen disks. So to "read the riot act" the Moodle admin needs evidence and suggestions how to save. Unfortunately this is going to be a) a repeated exercise b) done by many local Moodle administrators. Making a package is the only solution.
I remember that a whole series of plug-ins were written around the Moodle's repository concept and hoped there could be one with the said functionality.
Repositories
Disk consumption inspector?
This discussion has been locked so you can no longer reply to it.