# HG changeset patch # User Oleksandr Gavenko # Date 1448837665 -7200 # Node ID 30deebdbf764e065675faaf4c5dfcdcf05ce1614 # Parent 76efdcf0aa3e1e12d97bab503130c2b8a5fa344a View torrent file content diff -r 76efdcf0aa3e -r 30deebdbf764 torrent.rst --- a/torrent.rst Sun Nov 29 19:52:44 2015 +0200 +++ b/torrent.rst Mon Nov 30 00:54:25 2015 +0200 @@ -22,3 +22,25 @@ http://libtorrent.rakshasa.no/ http://en.wikipedia.org/wiki/RTorrent + +Create torrent in command line +============================== +:: + + $ mktorrent -a udp://tracker.publicbt.com:80/announce,udp://tracker.istole.it:80/announce book.chm + +View torrent file content +========================= +:: + + bash# btshowmetainfo debian-8.2.0-amd64-CD-1.iso.torrent + btshowmetainfo 20030621 - decode BitTorrent metainfo files + + metainfo file.: debian-8.2.0-amd64-CD-1.iso.torrent + info hash.....: bc84cb84010074094dba7bb55eebf68c6b3934a2 + file name.....: debian-8.2.0-amd64-CD-1.iso + file size.....: 657457152 (1254 * 524288 + 0) + announce url..: http://bttracker.debian.org:6969/announce + http seeds....: http://cdimage.debian.org/cdimage/release/8.2.0/iso-cd/debian-8.2.0-amd64-CD-1.iso|http://cdimage.debian.org/cdimage/archive/8.2.0/iso-cd/debian-8.2.0-amd64-CD-1.iso + comment.......: "Debian CD from cdimage.debian.org" +