mktorrent

Create BitTorrent metainfo files. More information: <https://github.com/Rudde/mktorrent>.

Install

All systems
curl cmd.cat/mktorrent.sh
Debian Debian
apt-get install mktorrent
Ubuntu
apt-get install mktorrent
Alpine
apk add mktorrent
Arch Arch Linux
pacman -S mktorrent
image/svg+xml Kali Linux
apt-get install mktorrent
Fedora
dnf install mktorrent
Windows (WSL2)
sudo apt-get update sudo apt-get install mktorrent
OS X
brew install mktorrent
Raspbian
apt-get install mktorrent
Docker
docker run cmd.cat/mktorrent mktorrent powered by Commando

Create BitTorrent metainfo files. More information: <https://github.com/Rudde/mktorrent>.

  • 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
  • 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
  • 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
  • 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
  • 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

© tl;dr; authors and contributors