LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

transmission-create

Create BitTorrent torrent files

TLDR

Create a torrent with a tracker
$ transmission-create -o [output.torrent] -t [http://tracker.example.com/announce] [file_or_directory]
copy
Create with multiple trackers
$ transmission-create -o [output.torrent] -t [tracker1] -t [tracker2] [file_or_directory]
copy
Create a private torrent
$ transmission-create -p -o [output.torrent] -t [tracker] [file_or_directory]
copy
Create with comment
$ transmission-create -c "[My torrent description]" -o [output.torrent] -t [tracker] [file]
copy
Create with custom piece size
$ transmission-create -s [2048] -o [output.torrent] -t [tracker] [file]
copy
Create with custom name
$ transmission-create -n "[Custom Name]" -o [output.torrent] -t [tracker] [file]
copy

SYNOPSIS

transmission-create [options] file|directory

DESCRIPTION

transmission-create generates .torrent files from files or directories. It's part of the Transmission BitTorrent client suite and provides command-line torrent creation without needing the GUI.The tool calculates SHA1 checksums for all pieces in the source content and bundles them with tracker information into the torrent file. Piece size is automatically selected based on content size but can be overridden.Multiple trackers can be added for redundancy. Private torrents disable DHT and peer exchange, requiring users to obtain peers only from the specified trackers.

PARAMETERS

-o, --outfile file

Save the generated .torrent to this filename.
-t, --tracker url
Add tracker announce URL. Can be used multiple times.
-p, --private
Mark torrent as private (for private trackers).
-c, --comment text
Add a comment to the torrent metadata.
-s, --piecesize KiB
Set piece size in KiB (default auto-calculated).
-n, --name name
Override default torrent name derived from source.
-h, --help
Display help and exit.
-V, --version
Display version and exit.

INSTALL

sudo apt install transmission-cli
copy
sudo dnf install transmission-cli
copy
sudo pacman -S transmission-cli
copy
sudo apk add transmission-extra
copy
brew install transmission-cli
copy

CAVEATS

Large files take time to hash. At least one tracker is required for most use cases. Private flag cannot be changed after creation. Piece size affects torrent file size and download granularity.

HISTORY

transmission-create is part of the Transmission project, an open-source BitTorrent client started in 2005. The CLI tools were developed to allow automation and server-side torrent management without requiring a graphical interface.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid