go-torrent-helper/README.org

32 lines
830 B
Org Mode
Raw Normal View History

2023-06-24 04:44:49 +02: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:
#+begin_src shell
export TRANSMISSION_RPC_URL=10.0.0.42
#+end_src
Install with Go:
#+begin_src shell
2023-07-02 22:12:46 +02:00
go install tildegit.org/hyperreal/go-torrent-helper@latest
2023-06-24 04:44:49 +02:00
#+end_src
Example usage:
#+begin_src shell
# 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
2023-06-24 04:44:49 +02:00
#+end_src