Resample images on server
I've inherited an old server where the customer's editors and moderator upload images into galleries.
They are not very tech savvy, so they are not very good at resizing pix.
Now it has grown to 10GB and I am running out of disk space.
I know I need to upgrade the server and change their gallery system, but for now I am out of time and need to resample their pics to buy time.
Do you know a script that can scan a directory and its subdirectories for image files, check their size and "weight" i.e. bytes/data against pixels/dimensions and perform a resize/resample whereever necessary?