Go to file
2023-07-05 05:27:30 -05:00
almalinux Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
command Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
common Set delete local data true by default 2023-07-05 05:27:30 -05:00
debian Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
fedora Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
nixos Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
parrot Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
qubes Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
rocky Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
go.mod Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
go.sum Initial commit 2023-06-23 21:33:24 -05:00
LICENSE Add LICENSE and README.org 2023-06-23 21:44:49 -05:00
main.go Set module name to tildegit.org 2023-07-02 15:12:46 -05:00
README.org Set module name to tildegit.org 2023-07-02 15:12:46 -05:00

go-torrent-helper

This is a helper program to add and remove torrents from a transmission-daemon instance.

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 tildegit.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

# If not -relver flag is supplied for the remove subcommand, remove all torrents for given distro
go-torrent-helper remove -distro debian