mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-25 04:03:42 +01:00
almalinux | ||
command | ||
common | ||
debian | ||
devuan | ||
fedora | ||
freebsd | ||
kali | ||
netbsd | ||
nixos | ||
parrot | ||
qubes | ||
rocky | ||
tails | ||
go-torrent-helper | ||
go.mod | ||
go.sum | ||
LICENSE | ||
main.go | ||
README.org |
go-torrent-helper
This is a helper program to add and remove torrents from a transmission-daemon instance.
Installation
go install codeberg.org/hyperreal/go-torrent-helper@latest
Usage
export TX_RPC_URL=localhost
export TX_RPC_USER="cat"
export TX_RPC_PASS="meow"
export TX_RPC_PORT="9091"
export TX_RPC_USE_HTTPS="True"
Add torrents
go-torrent-helper add -distro fedora -relver 50
go-torrent-helper add -distro nixos -relver *
go-torrent-helper add -distro almalinux -relver 12.4
Remove torrents
go-torrent-helper remove -distro almalinux -relver 12.4
go-torrent-helper remove -distro nixos -relver *
go-torrent-helper remove -distro fedora -relver 50