mktorrent
How to create a torrent?
you can use mktorrent cli to create a torrent
mktorrent [OPTIONS] <target directory or filename>
-a <url>[,<url>]*
specify the full tracker announce URLs. At least one is required and additional -a
add backup trackers
-c <comment>
add a comment to the metainfo
-d
don't write the creation date
-h
show help screen
-l <n>
set the piece length to 2^n bytes, default is 18, that is 2^18 = 256kb
-n <name>
set the name of the torrent, default is the basename of the target
-o <filename>
set the path and filename of the created file, default is <name>.torrent
-p
set the private flag (dissalow DHT and Peer Exchange)
-v
verbose output
-w <url>[,<url>]*
add web seed URLs, additional -w add more URLscreate torrent with
createtorrent
Run
box install mktorrent
will installcreatetorrent
based onmktorrent
. It provides a TUI to create torrents. Usespace
to select folder or file, usetab
to switch the button.