CmdID

CmdID / Commands

mktorrent

Create BitTorrent metainfo files. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

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

mktorrent --announce tracker_announce_url --piece-length 21 --output path/to/example.torrent path/to/file_or_directoryIdentify

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

mktorrent --private --announce tracker_announce_url --piece-length 21 --output path/to/example.torrent path/to/file_or_directoryIdentify

Create a torrent with a comment

mktorrent --comment "comment" --announce tracker_announce_url --piece-length 21 --output path/to/example.torrent path/to/file_or_directoryIdentify

Create a torrent with multiple trackers

mktorrent --announce tracker_announce_url,tracker_announce_url_2 --piece-length 21 --output path/to/example.torrent path/to/file_or_directoryIdentify

Create a torrent with web seed URLs

mktorrent --announce tracker_announce_url -w web_seed_url --piece-length 21 --output path/to/example.torrent path/to/file_or_directoryIdentify