Files
cheatsheet-tldr/tldr/transmission-create

31 lines
1.0 KiB
Plaintext

---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# transmission-create
> Create BitTorrent `.torrent` files.
> See also: `transmission`.
> More information: <https://manned.org/transmission-create>.
- Create a torrent with 2048 KB as the piece size:
`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_announce_url}} --piecesize {{2048}} {{path/to/file_or_directory}}`
- Create a private torrent with a 2048 KB piece size:
`transmission-create -p -o {{path/to/example.torrent}} --tracker {{tracker_announce_url}} --piecesize {{2048}} {{path/to/file_or_directory}}`
- Create a torrent with a comment:
`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_url1}} -c {{comment}} {{path/to/file_or_directory}}`
- Create a torrent with multiple trackers:
`transmission-create -o {{path/to/example.torrent}} --tracker {{tracker_url1}} --tracker {{tracker_url2}} {{path/to/file_or_directory}}`
- Display help page:
`transmission-create --help`