[download]

local/bin/trackers

   1 #!/bin/bash
   2 
   3 tb=($(curl -s https://ngosang.github.io/trackerslist/trackers_best.txt))
   4 
   5 [[ $(pidof transmission transmission-gtk) ]] &&
   6 transmission-remote -l | awk '/^\s*[0-9]/ { print $1 }' | while read t; do
   7     for i in "${tb[@]}"; do
   8         transmission-remote -t $t -it | grep -qw "${i%/*}" && continue
   9         transmission-remote -t $t -td "$i" >&- && echo "transmission: $i"
  10     done
  11 done