snippets/bash/clean-mastodon.sh

11 lines
264 B
Bash
Raw Permalink Normal View History

2024-10-02 23:47:38 +00:00
#!/bin/bash
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"
export RAILS_ENV=production
bin/tootctl statuses remove
bin/tootctl media remove --days=30
bin/tootctl preview_cards remove --days=30
bin/tootctl media remove-orphans
bin/tootctl media usage