Here's a Rails console script that I've put together to purge accounts that I don't care about on my mastodon instance. Main purpose is for deleting those pesky `account/(avatars|headers)` files.
Hope someone else finds it useful.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!