What is Nostr?
arutaz /
npub18h7…h7xu
2024-10-29 18:37:53
in reply to nevent1q…zq0w

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)
Author Public Key
npub18h7q5rxue2kagjhyku0zwu9dfkmv0kzn0u7854dw2cunpenshxcsrrh7xu