Pruning Image and Header data to save disk space

The instance I administer has collected about 10gb worth of profile and header images and about 10gb worth of preview cards.

I’d like to know whether there is a good method like RAILS_ENV=production ./bin/tootctl media remove --days=7 to remove those files that belong to inactive accounts and preview_cards beyond a certain age.

thank you!


I’ve resorted to manually deleting the folder /public/system/preview_cards. This has fixed my issue for now. However it feels like a very dirty solution since there is no way of guessing which images are from where and when. I’d rather have a tool that’d let me remove previews over a certain age…

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.