@maiyannah @hannes2peer I've actually made a script for this, but it will also remove !qvitter background images and such (because it removes any 'file' table entries without a related, verified, 'file_to_post' entry).

The real solution is however that I make is so that on-delete of a notice it will check if there are other notices using whatever linked files it has and deletes the file if noone else is using it.

But stuff like social media _will_ inevitably include lots and lots of stored images. There's no such thing as a clean social space :P