@freya@social.highenergymagic.net
Post #3499419
2026-06-30 06:48 UTC
Replies (1)
-
@aurynn@cloudisland.nz 2026-06-30 21:58
@freya@social.highenergymagic.net Okay so, what I was just running was `bin/tootctl statuses remove`, which defaults to removing anything older than 90 days that hasn't been interacted with. I would normally do 180 or 365 days, I think, to leave about a year's worth of older posts around, but this time I just let it go with the default. I also run `bin/tootctl media remove`, in two different modes, by itself and with --prune-profiles, which cleans up headers and profile pictures. Again, a --days is present to configure how far back. Finally, there's `bin/tootctl preview_cards remove`, which cleans up old preview cards embedded into posts. Defaults to 180 days. There's also `bin/tootctl media remove-ophans`, which should get run as an occasional clean-up job to delete files that aren't referenced by anything, with the caveat that it iterates over EVERY media file, so if you're using something that charges for access it can be very spendy