mktorrent1
Simple bittorrent metainfo file creator
Usage
mktorrent [OPTIONS]
<target
directory
or
filename>
Overview
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
-aadds 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
-wadds more URLs.
Releases
8 releases since Debian 6.0 (Squeeze); the text changed 3 times.
--announce since Debian 11 (Bullseye);
--comment since Debian 11 (Bullseye);
--help since Debian 11 (Bullseye);
--name since Debian 11 (Bullseye);
--no-date since Debian 11 (Bullseye);
--output since Debian 11 (Bullseye);
--piece-length since Debian 11 (Bullseye);
--private since Debian 11 (Bullseye);
--source since Debian 11 (Bullseye);
--threads since Debian 11 (Bullseye);
--verbose since Debian 11 (Bullseye);
--web-seed since Debian 11 (Bullseye);
-a since Debian 11 (Bullseye);
-c since Debian 11 (Bullseye);
-d since Debian 11 (Bullseye);
-h since Debian 11 (Bullseye);
-l since Debian 11 (Bullseye);
-n since Debian 11 (Bullseye);
-o since Debian 11 (Bullseye);
-p since Debian 11 (Bullseye);
-s since Debian 11 (Bullseye);
-t since Debian 11 (Bullseye);
-v since Debian 11 (Bullseye);
-w since Debian 11 (Bullseye).