arutaz on Nostr: npub10gsym…6nsp6 I run this script once a day: --------------------------------- ...
npub10gsym5c2vm5gme939yz8qfs4rmksc29vpf6g3hp0xrj9sgjfjn8qp6nsp6 (npub10gs…nsp6)
I run this script once a day:
---------------------------------
#!/bin/bash
PATH=$PATH:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/local/bin:/usr/bin:/bin
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1 --remove-headers
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1 --prune-profiles
RAILS_ENV=production /home/mastodon/live/bin/tootctl preview_cards remove --days 14
RAILS_ENV=production /home/mastodon/live/bin/tootctl statuses remove --days 14
RAILS_ENV=production /home/mastodon/live/bin/tootctl accounts prune
----------------------------
I don't need media older than one day (and if I do it will we downloaded again when visiting a toot)
I run this script once a day:
---------------------------------
#!/bin/bash
PATH=$PATH:/home/mastodon/.rbenv/shims:/home/mastodon/.rbenv/bin:/usr/local/bin:/usr/bin:/bin
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1 --remove-headers
RAILS_ENV=production /home/mastodon/live/bin/tootctl media remove --days 1 --prune-profiles
RAILS_ENV=production /home/mastodon/live/bin/tootctl preview_cards remove --days 14
RAILS_ENV=production /home/mastodon/live/bin/tootctl statuses remove --days 14
RAILS_ENV=production /home/mastodon/live/bin/tootctl accounts prune
----------------------------
I don't need media older than one day (and if I do it will we downloaded again when visiting a toot)