Downloading Torrent from the Terminal

1) There are quite a few applications in linux that has the ability to download torrent from the terminal. rtorrent is perhaps the most easiest to use and widely configurable out of all of them. To kick off with downloading any torrent file, you simply have to provide the link location of the torrent file, ie. rtorrent <torrent_address>
rtorrent is highly customizable and and can be configured by editing the configuration file located in ~.rtorrent.rc by default. You can assign rtorrent to load your own custom configuration file using this command: rtorrent -n -o import=~/custom.rc
Some interesting entries you could use in your configuration file; by default rtorrent does not come with a config file.
Saving and resuming download between sessions: session = ~/Download/session
Watch a Directory for new torrent:
schedule = watch_directory,10,10,load_start=~/Download/watch/*.torrent
Move torrents after download is finished:
on_finished = move_complete,”execute=mv,-u,$d.get_base_path=,~/Download/ ;d.set_directory=~/Download/”
Stop torrent upload after reaching upload ration:
schedule = ratio,60,60,”stop_on_ratio=200,50M,300″
For a complete list of option and download check out the rtorrent website: http://libtorrent.rakshasa.no/
2) Another light-weight torrent downloader, Transmission, also has a cli version. To download files using transmission you have to provide the location of the downloaded torrent file unlike rtorrent where you could provide the link location of the torrent file. ie, transmissioncli /home/pavs/Desktop/test.torrent
furthermore you can use custom download and upload speed using -d and -u options. Debian package for transmission-cli can be downloaded from here: http://packages.debian.org/unstable/net/transmission-cli
3) Third option for command line torrent downloader could be ctorrent, which has been discontinued since 2006, but still does the job for the most part, using the same command as transmissioncli, ie: ctorrent /home/pavs/Desktop/test.torrent

You can find out more about ctorrent from it’s website. http://ctorrent.sourceforge.net/
If you guys know about any other command line torrent downloader let me know.


May 12th, 2008 01:47
Very, very nice tips. That is what I was looking for a long time.
May 12th, 2008 11:59
The original bit torrent client included text-mode downloaders, such as btdownloadcurses. Bit tornado also. It looks like rtorrent is more sophisticated. Hasn’t the cli portion of transmission been discontinued?
May 14th, 2008 03:09
thanks
May 21st, 2008 01:29
CLI Torrents…
…
May 21st, 2008 16:17
I was looking for a torrent client in CLI version. It seems that rtorrent is what i’m looking for. Thx for the great post
May 24th, 2008 12:16
[...] and widely configurable out of all of them. To kick off with downloading any torrent file, you simphttp://www.linuxhaxor.net/2008/05/11/downloading-torrent-from-the-terminal/Papa John’s surpasses 1 billion in online pizza sales PhysOrgAP — Sometimes during peak hours, the [...]
July 26th, 2008 14:51
http://henrik.unit5.ca/hrktorrent/
July 26th, 2008 14:57
You might also want to include information about transmission-daemon - it runs in the background and allows you to add and control multiple torrents using transmission-remote. Much more useful than downloading a single torrent at a time using transmissioncli
July 26th, 2008 15:05
Azureus also runs in CLI.
Under gentoo:
emerge azureus
vi /home//.azureus/gentoo.config
set the UI line to UI=”console” and voila!
July 26th, 2008 15:06
[...] different ways to download torrents from the terminal.read more | digg [...]
July 26th, 2008 15:17
Another option is aria2
http://debaday.debian.net/2008/07/16/aria2-high-speed-command-line-download-utility/
July 26th, 2008 15:28
So do any of these support encrypted torrent traffic? Or is it possible to restrict all incoming/outgoing torrent traffic to only connect to encrypted clients?
SD
July 26th, 2008 20:35
Thanks tranny lover. I was looking for a good torrent client that could run as a daemon. Transmission is a great program and easy to use.
July 26th, 2008 20:58
For ctorrent look at “enhanced ctorrent”, development still active, and it’s the fastest and lightest client around.