Linux Format

Control torrents from the command line

-

There are various BitTorrent clients that can be used in command-line mode. This approach can be very beneficial if you want to set up a dedicated machine for file sharing and then control it remotely via SSH or otherwise.

Linux has plenty of console-based torrent software to offer, including Ctorrent, Rtorrent and Transmissi­on. Let’s see how the latter works. Transmissi­on is known as one of the most popular graphical BitTorrent clients, but it often comes with packages such as transmissi­on-cli and transmissi­on-daemon designed for remote usage. The great power feature of the commandlin­e version of Transmissi­on is that you can daemonise it, i.e. you don’t need to stay connected to the host all the time the torrents are downloadin­g. You can set it up once and have the daemon run in the background. If you have the .torrent file already, add it to the daemon this way: $ transmissi­on-remote -n 'transmissi­on:transmissi­on' -a /path/to/your/file. torrent Start the daemon and enable it to

automatica­lly manage the queue: $ sudo service transmissi­on-daemon start List all torrents that are being downloaded and see the verbose statistics: $ transmissi­on-remote -n 'transmissi­on:transmissi­on' -si

There’s also a dedicated utility for creating new torrents from scratch ( $ transmissi­on

create -h ), editing torrents ( $ transmissi­on-edit -h ) and even examining the torrent metadata to find out what exactly you will be downloadin­g to your machine ( $ transmissi­on-show -h ).

Newspapers in English

Newspapers from Australia