Manpages

NAME

mktorrent - simple BitTorrent metainfo file creator

SYNOPSIS

mktorrent [OPTIONS] <target directory or filename>

DESCRIPTION

mktorrent is a command line utility to create BitTorrent metainfo files used by trackers and torrent clients. It can create metainfo files for single files or complete directories in a fast way.

OPTIONS

-a, --announce=<url>[,<url>...]

Specify the full announce URLs. Additional -a adds backup trackers.

-c, --comment=<comment>

Add a comment to the metainfo.

-d, --no-date

Don’t write the creation date.

-h, --help

Show this help screen.

-l, --piece-length=<n>

Set the piece length to 2^n bytes. Default is 18, that is 2^18 = 256kB.

-n, --name=<name>

Set the name of the torrent. Default is the basename of the target.

-o, --output=<filename>

Set the path and filename of the created file. Default is <name>.torrent.

-p, --private

Set the private flag.

-s, --source=<source>

Add source string embedded in infohash.

-t, --threads=<n>

Use <n> threads for calculating hashes. Default is the number of CPU cores.

-v, --verbose

Be verbose.

-w, --web-seed=<url>[,<url>...]

Add web seed URLs. Additional -w adds more URLs.

AUTHORS

Originally written by Emil Renner Berthing <esmil [AT] mailme.dk>.

This manpage was written for the Debian mktorrent package by Paride Legovini <paride [AT] debian.org> and Nico Golde <nion [AT] debian.org>.

REPORTING BUGS

Please use the GitHub issue tracker <https://github.com/pobrn/mktorrent/issues>;.

COPYRIGHT

This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

SEE ALSO

More documentation at: <https://github.com/pobrn/mktorrent/wiki>;.