intermodal/man/imdl-torrent-link.1
strickinato cb8b5a6919
Partially implement BEP 53
This enables `--select-only 1,2,3` which gets appended to the magnet
link as `&so=1,2,3`.

It's a partial implementation because we're missing support for file
ranges ie `--select-only 4-6`

type: added
fixes:
- https://github.com/casey/intermodal/issues/245
2020-04-12 20:42:45 -07:00

32 lines
1009 B
Groff

.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.11.
.TH IMDL-TORRENT-LINK "1" "April 2020" "Intermodal v0.1.5" "Intermodal Manual"
.SH NAME
\fBimdl\ torrent\ link\fR
- Generate a magnet link from a .torrent file.
.SH "SYNOPSIS:"
.IP
imdl torrent link [FLAGS] [OPTIONS] \fB\-\-input\fR <METAINFO>
.SH "FLAGS:"
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help message.
.TP
\fB\-O\fR, \fB\-\-open\fR
Open generated magnet link. Uses `xdg\-open`, `gnome\-open`, or `kde\-open` on Linux; `open` on macOS;
and `cmd \fI\,/C\/\fP start` on Windows
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version number.
.SH "OPTIONS:"
.TP
\fB\-s\fR, \fB\-\-select\-only\fR <INDICES>...
Specify files that torrent clients select for download. Values are indices into
the info.files list. e.g. `\-\-select\-only 1,2,3`
.TP
\fB\-i\fR, \fB\-\-input\fR <METAINFO>
Generate magnet link from metainfo at `PATH`. If `PATH` is `\-`, read metainfo from
standard input.
.TP
\fB\-p\fR, \fB\-\-peer\fR <PEER>...
Add `PEER` to magnet link.