mktorrent

A CLI utility to create BitTorrent metainfo files.

TLDR

Create a torrent with 2^21 KB as the piece size

>_ mktorrent -a [tracker_announce_url] -l [21] -o [path/to/example.torrent] [path/to/file_or_directory]
copy

Create a private torrent with a 2^21 KB piece size

>_ mktorrent -p -a [tracker_announce_url] -l [21] -o [path/to/example.torrent] [path/to/file_or_directory]
copy

Create a torrent with a comment

>_ mktorrent -c "[comment]" -a [tracker_announce_url] -l [21] -o [path/to/example.torrent] [path/to/file_or_directory]
copy

Create a torrent with multiple trackers

>_ mktorrent -a [tracker_announce_url,tracker_announce_url_2] -l [21] -o [path/to/example.torrent] [path/to/file_or_directory]
copy

Create a torrent with web seed URLs

>_ mktorrent -a [tracker_announce_url] -w [web_seed_url] -l [21] -o [path/to/example.torrent] [path/to/file_or_directory]
copy

Copied to clipboard
free 100$ digital ocean credit