We all love OpenBitTorrent.org project, and transmission-daemon.
Adding the public trackers to public torrents is also something good, but adding them everytime, manually is a bit hard.
Here is a script that eases this pain;
#/usr/bin/env bash
TRANSMISSION_REMOTE="/usr/bin/transmission-remote"
if [ $# -ne 1 ]; then
echo "This script expects one parameter - the tracker id"
echo "Use transmission-remote -l to find it;"
$TRANSMISSION_REMOTE localhost:9091 -n userName:passWord -l
exit 1
fi
# OpenBitTorrent.org
list='udp://tracker.opentrackr.org:1337 udp://tracker.coppersurfer.tk:6969 udp://tracker.leechers-paradise.org:6969 udp://zer0day.ch:1337 udp://explodie.org:6969'
for i in $list; do
echo "Adding tracker: $i"
$TRANSMISSION_REMOTE localhost:9091 -n userName:passWord -t $1 -td $i
done
Save it as addtracker.sh
.
You can see the tracker id via transmission-remote -l
command. Similar output will be like this.
$ transmission-remote localhost:9091 -n userName:passWord -l
ID Done Have ETA Up Down Ratio Status Name
1 100% 15.01 MB Done 0.0 0.0 0.0 Stopped Stuff 1
2 100% 1.01 GB Done 0.0 0.0 15.5 Idle Stuff 2.zip
3 100% 1.01 GB Done 0.0 0.0 17.2 Idle Stuff 3.rar
25 0% None Unknown 0.0 0.0 None Idle Stuff 4.mkv
26 100% 8.01 GB Done 0.0 0.0 20.3 Stopped Stuff 5.mp4
27 14% 2.21 GB 1 min 5.0 6.0 0.0 Up & Down Stuff 6
Sum: 99.99 GB 0.0 0.0
$
Let's say you've added "Stuff 6" a few minutes ago and there aren't enough peers.
You can now run ./addtracker.sh 27
to add open trackers to the torrent you're downloading. The id of the torrent "Stuff 6" is 27 (the first column in the list output).
Happy seeding!