Btpd

提供: ArchWiki
2018年2月6日 (火) 23:08時点におけるKusakata.bot (トーク | 投稿記録)による版 (文字列「http://github.com/」を「https://github.com/」に置換)
ナビゲーションに移動 検索に移動

btpd は BitTorrent クライアントデーモンです。

インストール

AUR から btpdAUR をインストールすることができます。

設定

Btpd に設定ファイルはありません。オプションはフラグを使って適用します (man btpd を参照)。

操作

btpd の操作にはコマンドラインインターフェースの btcli を使います。

ノート: Don't forget to configure a working directory with -d if you do not want to use the default.

Add foo.torrent, with content dir /home/user/foo.torrent.d/, and start it:

$ btcli add -d /home/user/foo.torrent.d foo.torrent

Same as above without starting it:

$ btcli add -N -d /home/user/foo.torrent.d foo.torrent

Display a list btpd’s torrents and their number, size, status, etc:

$ btcli list

Same as above, but only for torrent 12 and my.little.torrent:

$ btcli list 12 my.little.torrent

Same as above but only for active torrents:

$ btcli list -a

Use a custom list format:

$btcli list -f "btcli list -f "%n\t%#\t%p%s\t%r\n"

bar.torrent と7番の torrent を開始:

$ btcli start bar.torrent 7

7番の torrent を停止:

$ btcli stop 7

アクティブな torrent を全て停止:

$ btcli stop -a

bar.torrent と関連する情報を btpd から削除:

$ btcli del bar.torrent

アクティブな torrent のアップ/ダウンロードの状態を表示:

$ btcli stat

5秒ごとに状態を表示:

$ btcli stat -w 5

上記と同じ、ただしアクティブな torrent それぞれの状態を表示:

$ btcli stat -w 5 -i

btpd をシャットダウン:

$ btcli kill

参照