Create a new torrent file for the specified file path

webtorrent

  • The command-line interface for WebTorrent.
    Supports magnets, URLs, info hashes and `.torrent` files.
    More information: <https://github.com/webtorrent/webtorrent-cli>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

webtorrent create {{path/to/file}}

click the source code to copy install webtorrent on any operating system with command-not-found.com