Transmission-CUI: How to queue torrents? Or stop them after download finishes

Ask for help and report issues not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
SRoy
Posts: 1
Joined: Sun Aug 16, 2020 1:08 pm

Transmission-CUI: How to queue torrents? Or stop them after download finishes

Post by SRoy »

I'm following this YouTube Guide: https://youtu.be/wZY6xTmovuc?t=94 to download Torrents using https://colab.research.google.com via Transmission-CUI.

But if you watch the video for even 10 seconds, you'll know that there are no settings, just put commands and run the block.

So, if I set the 2 commands to download 2 torrents, the first one keeps seeding and second one doesn't even start. So, either I need to stop them after they finish downloading, or reduce the seeding time to 0.

Please, just watch the video for a few seconds to understand my problem.

---

I'm using these commands like so, to make them queue up, which is not working:

Code: Select all

!transmission-cli -D -g "/Shared drives/config" -w "/Shared drives/torrent" magnet:...link1
!transmission-cli -D -g "/Shared drives/config" -w "/Shared drives/torrent" magnet:...link2
!transmission-cli -D -g "/Shared drives/config" -w "/Shared drives/torrent" magnet:...link3
because the first line doesn't finish executing as it keeps seeding

Thanks. :)

Edit: I have an idea of using the -f command, which is used to run a script after torrent finishes, but how do write a script to stop all torrents, and what language?
Post Reply