Follow

[werwolf@power] ~
❯ cat /opt/scripts/transmission_additional_trackers.sh
#!/usr/bin/env bash
TRACKER in $(cat /home/werwolf/.config/transmission-daemon/additional_trackers.lst && curl -s raw.githubusercontent.com/ngos)
for TRACKER in $(cat /home/werwolf/.config/transmission-daemon/additional_trackers.lst)
do
echo "Adding $TRACKER to all torrents"
transmission-edit -a "$TRACKER" /home/werwolf/.config/transmission-daemon/torrents/*
# transmission-edit -d "$TRACKER" /home/werwolf/.config/transmission-daemon/torrents/*
# transmission-remote 127.0.0.1:9091 -n werwolf:НЕСКАЖУ --torrent all -td $TRACKER
done
chown -R werwolf:users /home/werwolf/.config/transmission-daemon
systemctl restart transmission-daemon.service

Sign in to participate in the conversation
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.