mirror of
https://codeberg.org/hyperreal/go-torrent-helper
synced 2024-11-01 08:43:10 +01:00
almalinux | ||
command | ||
common | ||
debian | ||
fedora | ||
nixos | ||
parrot | ||
qubes | ||
rocky | ||
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.
WIP: Other people should probably not use this yet, as there are still some rough edges I need to smooth out with regard to command-line argument handling and removing torrents functionality.
To use, make sure `TRANSMISSION_RPC_URL` is exported in the shell:
export TRANSMISSION_RPC_URL=10.0.0.42
Install with Go:
go install codeberg.org/hyperreal/go-torrent-helper@latest
Example usage:
# Add Fedora torrents
go-torrent-helper add -distro fedora -relver 38
# Remove NixOS torrents
go-torrent-helper remove -distro nixos
# Add Rocky Linux torrents
go-torrent-helper add -distro rocky -relver 9.2
# Remove older Rocky Linux torrents
go-torrent-helper remove -distro rocky -relver 8.1