Difference between revisions of "Btpd"

From ArchWiki
Jump to: navigation, search
(Many smalls edits to formatting and grammar. Additional links to AUR.)
(Installation: stay aur helper generic)
(15 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 +
[[Category:Internet Applications]]
 +
[[Category:Networking]]
 
[http://github.com/btpd/btpd/wiki/Using-btpd btpd] is a BitTorrent client daemon.
 
[http://github.com/btpd/btpd/wiki/Using-btpd btpd] is a BitTorrent client daemon.
  
 
== Installation ==
 
== Installation ==
  
Btpd is located in the [http://aur.archlinux.org/packages.php?ID=8049|AUR]. It can be installed with a [[AUR Helpers|AUR helper]] or manually.
+
You can install {{AUR|btpd}} from the [[AUR]].
 
+
The package can be installed using <tt>cower</tt> using the following command:
+
$ cower -d btpd && makepkg && su -c "pacman -U *.pkg"
+
  
 
== Configuration ==
 
== Configuration ==
  
Btpd does not have a configuration file. Options can be applied using flags (see <tt>man btpd<tt>).
+
Btpd does not have a configuration file. Options can be applied using flags (see {{Ic|man btpd}}).
  
 
== Interaction ==
 
== Interaction ==
  
Through '''btcli''': (don't forget to configure working directory with -d, if not default)
+
To interact with '''btpd''' use the command-line interface '''btcli'''.
  
* Add foo.torrent, with content dir /home/user/foo.torrent.d/, and start it: $ btcli add -d /home/user/foo.torrent.d foo.torrent
+
{{note|Don't forget to configure a working directory with -d if you do not want to use the default.}}
* 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
+
Add foo.torrent, with content dir /home/user/foo.torrent.d/, and start it:  
* Same as above, but only for torrent 12 and my.little.torrent: $ btcli list 12 my.little.torrent
+
$ btcli add -d /home/user/foo.torrent.d foo.torrent
* Same as above but only for active torrents: $ btcli list -a
+
Same as above without starting it:  
* Use a custom list forma: $btcli list -f "btcli list -f "%n\t%#\t%p%s\t%r\n"
+
$ btcli add -N -d /home/user/foo.torrent.d foo.torrent
* Start bar.torrent and torrent number 7: $ btcli start bar.torrent 7
+
Display a list btpd’s torrents and their number, size, status, etc:  
* Stop torrent number 7: $ btcli stop 7
+
$ btcli list
* Stop all active torrents: $ btcli stop -a
+
Same as above, but only for torrent 12 and my.little.torrent:  
* Remove bar.torrent and it’s associated information from btpd: $ btcli del bar.torrent
+
$ btcli list 12 my.little.torrent
* Display a summary of up/download stats for the active torrents: $ btcli stat
+
Same as above but only for active torrents:  
* Display the summary once every five seconds: $ btcli stat -w 5
+
$ btcli list -a
* Same as above, but also display individual stats for each active torrent: $ btcli stat -w 5 -i
+
Use a custom list forma:  
* Shut down btpd: $ btcli kill
+
$btcli list -f "btcli list -f "%n\t%#\t%p%s\t%r\n"
 +
Start bar.torrent and torrent number 7:  
 +
$ btcli start bar.torrent 7
 +
Stop torrent number 7:  
 +
$ btcli stop 7
 +
Stop all active torrents:  
 +
$ btcli stop -a
 +
Remove bar.torrent and it’s associated information from btpd:  
 +
$ btcli del bar.torrent
 +
Display a summary of up/download stats for the active torrents:  
 +
$ btcli stat
 +
Display the summary once every five seconds:  
 +
$ btcli stat -w 5
 +
Same as above, but also display individual stats for each active torrent:  
 +
$ btcli stat -w 5 -i
 +
Shut down btpd:  
 +
$ btcli kill
  
 
== External Links ==
 
== External Links ==
 
*[http://github.com/btpd/btpd GitHub] Project Page
 
*[http://github.com/btpd/btpd GitHub] Project Page
 
*[http://github.com/btpd/btpd/wiki/Using-btpd GitHub Wiki]
 
*[http://github.com/btpd/btpd/wiki/Using-btpd GitHub Wiki]
*[http://aur.archlinux.org/packages.php?ID=18293 Btpd Webui]
+
*[https://aur.archlinux.org/packages.php?ID=18293 Btpd Webui] in AUR
*[http://aur.archlinux.org/packages.php?ID=39443 GTK+ Btpd frontend]
+
*[https://aur.archlinux.org/packages.php?ID=39443 GTK+ Btpd frontend] in AUR
 
+
[[Category:Utilities (English)]]
+
[[Category:HOWTOs (English)]]
+

Revision as of 07:22, 24 July 2012

btpd is a BitTorrent client daemon.

Installation

You can install btpdAUR from the AUR.

Configuration

Btpd does not have a configuration file. Options can be applied using flags (see man btpd).

Interaction

To interact with btpd use the command-line interface btcli.

Note: 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 forma:

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

Start bar.torrent and torrent number 7:

$ btcli start bar.torrent 7

Stop torrent number 7:

$ btcli stop 7

Stop all active torrents:

$ btcli stop -a

Remove bar.torrent and it’s associated information from btpd:

$ btcli del bar.torrent

Display a summary of up/download stats for the active torrents:

$ btcli stat

Display the summary once every five seconds:

$ btcli stat -w 5

Same as above, but also display individual stats for each active torrent:

$ btcli stat -w 5 -i

Shut down btpd:

$ btcli kill

External Links