手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

rtorrent - 强大的命令行BT客户端

[日期:2013-10-07] 来源:Linux中国   作者:Linux [字体:大 中 小]

下载/安装

一些重要的关于rtorrent的链接:

Ubuntu 用户可以从Ubuntu软件中心下载rtorrent. 现在使用的版本是0.9.2.

rtorrent 下载安装之后,你必须设置一个资源文件(配置文件) - .rtorrent.rc 。这个文件必须存在,否则程序无法正常启动。下图就是我没有设置 ~/.rtorrent.rc 运行程序的结果。

rtorrent-1

你可以看到程序显示了一个不能读取到资源文件的错误。设置这个文件,首先下载文件模板,根据需求改一改。

注意 - 我上面提到的链接是官方的下载链接。这个文件和我的 ~/.rtorrent.rc有一点不同。

这是我使用的资源文件:

# For temporary downloaded files
# 临时下载文件
directory = ~/rTempDownloadFiles

# Directory to save and resume torrent sessions
# 保存和恢复torrent会话的目录
session = ~/rSession

# Other Tunables
# 其它可调参数
upload_rate = 30
download_rate = 200
peer_exchange = yes

# DHT enabled
# 开启DHT
dht = auto

# custom throttles
# 自定义阀门(译者注:流量限制)
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 have been
# 监控目录中新的torrent, 重新启动torrent
# copied back and stop those that have been deleted.
# 复制并且阻止已经删除的.

schedule = watch_directory,0,10,load_start=~/rWatch/*.torrent
schedule = tied_directory,10,10,start_tied=
schedule = untied_directory,10,10,close_untied=

# Enable the default ratio group
# 启用默认比率组
ratio.enable=

# Change the limits, the defaults should be sufficient.
# 改变限制,默认应该足够
ratio.min.set=50
ratio.max.set=150
ratio.upload.set=20M

# Changing the command triggered when the ratio is reached.
# 当比值达到,改变命令触发
system.method.set = group.seeding.ratio.command, d.close=, d.erase=

# Move finished torrents to 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=,~/rFullDownloadFiles/ ;d.set_directory=~/rFullDownloadFiles/”

注意 - 这个资源文件引用自这个链接.

要使用这个资源文件,不要忘记运行下面的命令(建立资源文件中提到的目录):

mkdir /home/<your-username>/rTempDownloadFiles
mkdir /home/<your-username>/rFullDownloadFiles
mkdir /home/<your-username>/rSession
mkdir /home/<your-username>/rWatch

用你自己的用户名替换 。还有,确保资源文件的名字是 .rtorrent.rc (前面有一个点) 不是 rtorrent.rc,把它保存在你的home目录(我的是/home/himashu).

想知道更多关于使用rtorren,请读用户指南。还可以在rtorrent中浏览详细教程。

结论

rtorrent 是为那些想要用命令行BT客户端来代替基于GUI的客户端的用户准备的。虽然它需要为初始化配置付出一些时间并且需要一些操作来习惯,但是这些时间是值得的。尝试一下,它一定会给你留下深刻印象。

优点

  • 功能丰富
  • 大量的自定义选项

缺点

  • 初始配置时需要一点时间
  • 用户可能需要一些时间来习惯

你使用基于CLI的BT客户端吗?它有什么优势和弊端?和我们分享你的经历。

via: http://mylinuxbook.com/rtorrent-bit-torrent-client/

本文由 LCTT 原创翻译,Linux中国 荣誉推出

译者:flsf01 校对:Caroline

linux
相关资讯       rtorrent  BT客户端 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款