How to Create Torrent File
Transmission
Format:
transmission-create -o <output_file.torrent> -t <announce_url> <file_or_directory>
Example:
transmission-create -o file.torrent -t udp://tracker.opentrackr.org:1337/announce /home/file.img
Mktorrent
Format:
mktorrent -a <announce_url> -o <output_file.torrent> <file_or_directory>
Example:
mktorrent -a udp://tracker.opentrackr.org:1337/announce -o file.torrent /home/file.img