Skip to content

transmission

Needing a commandline version for downloading torrent files, transmission was the easiest to setup. So here is a quick start for that to work.

installation

Transmission can be started as a standalone program, but also as a daemon, for that install these packages:

installation
apt-get install transmission-cli transmission-daemon transmission-remote-cli

Now this will make transmission daemon startup at boot. I don't want it to startup at every boot, but only manually. This means disabling it :

disable to prevent startup without tunnel
systemctl disable transmission-daemon

So now after a reboot you will have to run this command yourself :

start manually
systemctl start transmission-daemon

After this you can view the status through a simple web interface at : http://localhost:9091/transmission/web/

But also, the commandline can be used to list and add the torrents. I made a couple of scripts: list_torrent.sh and add_torrent.sh which show how to use the CLI :

startup script
#!/bin/bash
transmission-remote -n 'transmission:transmission' -l

add_torrent.sh

add torrent script
1
2
3
#!/bin/bash
# note : you need to give the torrent string within quotes '*'
transmission-remote -n 'transmission:transmission' -a $1