RTorrent-powerful command line BT client

Source: Internet
Author: User

NOTE -All the examples and instructions shown in this article have been tested in Ubuntu 13.04.

First, installation

[Email protected] data]# Yum search rtorrent

Loaded plugins:security

========================================= N/S matched:rtorrent ==========================================

Rtorrent.x86_64:BitTorrent client based on Libtorrent

Name and summary matches only, use ' Search all ' for everything.

[Email protected] data]# yum install rtorrent

Loaded plugins:security

Setting up Install Process

......

Second, the configuration

RTorrent after downloading the installation, you must set up a resource file (config file)- . Rtorrent.rc . This file must exist or the program will not start properly.

Is that I did not set the results of the ~/.rtorrent.rc run program.

You can see that the program shows an error that cannot be read to the resource file.

Set this file, first download the file template ( official Download ), according to the needs of change. This file is a little different from my ~/.rtorrent.rc. This is the resource file that I used:

# for temporary downloaded files

# Temporary Download file

Directory =/app/data/bt/temporaryfiles

# Directory to save and resume torrent sessions

# Save and restore directories for torrent sessions

Session =/app/data/bt/sesssions

# Other Tunables

# Other tunable parameters

Upload_rate = 30

Download_rate = 200

Peer_exchange = yes

# DHT Enabled

# Turn on DHT

DHT = Auto

# Custom Throttles

# Custom Valve (Translator Note: Flow limit)

THROTTLE_UP = low,10

Throttle_down = low,10

THROTTLE_UP = med,20

Throttle_down = med,20

# Watch a directory for new torrents, restart torrents that has been

# Monitor new torrent in directory, restart torrent

# copied back and stop those, that has been deleted.

# Copy and block the deleted.

Schedule = Watch_directory,0,10,load_start=/app/data/bt/watch/*.torrent

Schedule = tied_directory,10,10,start_tied=

Schedule = untied_directory,10,10,close_untied=

# Enable The default ratio group

# Enable default rate group

ratio.enable=

# Change the limits, the defaults should is sufficient.

# Change the limit, the default should be enough

Ratio.min.set=50

ratio.max.set=150

ratio.upload.set=20m

# Changing the command triggered when the ratio is reached.

# when the ratio is reached, change the command trigger

System.method.set = Group.seeding.ratio.command, d.close=, d.erase=

# Move finished torrents to completed

# Removal of completed torrent

#system. Method.set_key = Event.download.finished,rm_torrent, "Execute=rm, $d. get_tied_to_file="

#system. Method.set_key = Event.download.finished,move_complete, "Execute=mv,-u, $d. get_base_path=,/app/data/bt/ download/;d. set_directory=/app/data/bt/download/"

Note-This resource file is referenced from this link. To use this resource file, do not forget to run the following command (create the directory mentioned in the resource file):

Mkdir-p/app/data/bt/download

Mkdir-p/app/data/bt/sesssions

Mkdir-p/app/data/bt/temporaryfiles

Mkdir-p/app/data/bt/watch

Replace it with your own user name. Also, make sure that the name of the resource file is . rtorrent.rc (a point in front) is not rtorrent.rc, save it in your home directory (mine is/home/himashu).

Third, start

RTorrent

This has a window after running rtorrent:

1. Loading *.torrent files

After you start rtorrent, press ENTER on the keyboard to appear at the bottom of the window:

Note that this appears on the screen prompting Load.normal>, and the next step is to enter only the name of the torrent file. For example, I enter this torrent filename fedora-20-alpha-x86_64-dvd.torrent.

Note that you only need to enter the torrent file name (if it is not in the current directory , then enter the full path ). You can easily use bash's shortcut keys such as [TAB] to complete the file name and path. After that, press ENTER again.

Now you can see that the torrent file is loaded, but you need to activate it and let it start downloading.

Iv. start, stop, delete *.torrent files

First press the DOWN ARROW key. It is now time to display an asterisk (the translator Note: selected) before the details of the loaded file.

Note the asterisk that appears at the beginning of the torrent file information, and now press Ctrl+s to start the download.

RTorrent has now started downloading the current file. Stop the download with ctrl+d , and then use the ctrl+d to remove the torrent task, which is to uninstall it. Exit rtorrent with ctrl+q .

V. User Guide

Http://libtorrent.rakshasa.no/wiki/RTorrentUserGuide

General note about key combinations: ^ means the ctrl-key. M-x means meta-x (usually alt-x or esc-x)

Adding and removing torrents

Backspace Add torrent Using an URL or file path. Use the tab to view directory content and do auto-complete. Also, wildcards can be used. For example: ~/torrent/*

Return same as backspace, except the torrent remains inactive. (use ^s to activate)

^o Set new download directory for selected torrent. only works if torrent have not yet been activated. Select Download Directory

^s Start Download. Runs Hash first unless already done. Start download

^d Stop an active download, or remove a stopped download. Pause download

^r Initiate hash check of torrent. Without starting to download/upload.

Throttling

a/s/d increase the upload throttle by 1/5/50 KB.

z/x/c decrease the upload throttle by 1/5/50 KB.

a/s/d increase the download throttle by 1/5/50 KB.

z/x/c decrease the download throttle by 1/5/50 KB.

Note: All throttling are applied globally and not per torrent.

Vi. references
    • http://mylinuxbook.com/rtorrent-bit-torrent-client/
    • https://linux.cn/thread/11663/1/1/
    • Home
    • Download link
Vii. Summary

RTorrent is intended for users who want to use a command line BT client instead of a GUI-based client. While it takes some time to initialize the configuration and requires some action to get used to, these times are worth it. Try it and it will definitely impress you.

Advantages

    • Feature Rich
    • A large number of customization options

Disadvantages

    • Initial configuration takes a little time
    • Users may need some time to get used to

Do you use the CLI-based BT client? What advantages and disadvantages does it have? Share your experiences with us.

RTorrent-powerful command line BT client

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.