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 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.
iEntry 10th Anniversary
LinuxHaxor
WH
MH


Very, very nice tips. That is what I was looking for a long time.
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?
thanks
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
http://henrik.unit5.ca/hrktorrent/
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
Azureus also runs in CLI.
Under gentoo:
emerge azureus
vi /home//.azureus/gentoo.config
set the UI line to UI=”console” and voila!
Another option is aria2
http://debaday.debian.net/2008/07/16/aria2-high-speed-command-line-download-utility/
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
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.
For ctorrent look at “enhanced ctorrent”, development still active, and it’s the fastest and lightest client around.
hrktorrent is a really llightweight console torrent app, you should check it out: http://henrik.unit5.ca/hrktorrent/
This was very helpful thank you. I’ve been looking for this for a while
The above mentioned detail is really helpful. I t really cleared most of my unanswered questions.
Worth to mention:
http://btg.berlios.de/