diff --git a/pages/common/mktorrent.md b/pages/common/mktorrent.md new file mode 100644 index 0000000000..04d6fbfbc8 --- /dev/null +++ b/pages/common/mktorrent.md @@ -0,0 +1,24 @@ +# mktorrent + +> A CLI utility to create BitTorrent metainfo files. +> More information: . + +- 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}}`