Mastodon Nettoyer Mastodon En cour de rédaction Clear old domain for i in $(cat /var/tmp/mastodon/2020-01-03/domains_drop.txt); do RAILS_ENV=production bin/tootctl domains purge $i > /var/tmp/mastodon/$(date +‘%Y-%m-%d’)/purge.txt; done Remove old media RAILS_ENV=production bin/tootctl media remove --days=90 > /var/tmp/mastodon/$(date +‘%Y-%m-%d’)/remove.txt Remove orphan media RAILS_ENV=production bin/tootctl media remove-orphans > /var/tmp/mastodon/$(date +‘%Y-%m-%d’)/remove-orphans.txt Drop innexistant account RAILS_ENV=production bin/tootctl accounts cull > /var/tmp/mastodon/$(date +‘%Y-%m-%d’)/domains_cull.txt Crawl all know domain RAILS_ENV=production bin/tootctl domains crawl > /var/tmp/mastodon/$(date +‘%Y-%m-%d’)/domains_crawl.txt