intermodal/man/imdl-torrent-stats.1
Casey Rodarmor 04338e3501
Merge documentation and changelog generation
Merge documentation generation into a single binary, `bin/gen`. This
includes: The changelog, man pages, the readme, and the book.

type: reform
2020-04-17 21:31:54 -07:00

35 lines
1.2 KiB
Groff

.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.13.
.TH IMDL-TORRENT-STATS "1" "April 2020" "Intermodal v0.1.5" "Intermodal Manual"
.SH NAME
\fBimdl\ torrent\ stats\fR
- Show statistics about a collection of .torrent files.
.SH "SYNOPSIS:"
.IP
imdl torrent stats [FLAGS] [OPTIONS] \fB\-\-input\fR <PATH>
.SH "FLAGS:"
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help message.
.TP
\fB\-p\fR, \fB\-\-print\fR
Pretty print the contents of each torrent as it is processed.
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version number.
.SH "OPTIONS:"
.TP
\fB\-e\fR, \fB\-\-extract\-pattern\fR <REGEX>...
Extract and display values under key paths that match `REGEX`. Subkeys of a
bencodeded dictionary are delimited by `/`, and values of a bencoded list are
delmited by `*`. For example, given the following bencoded dictionary `{"foo":
[{"bar": {"baz": 2}}]}`, the value `2`'s key path will be `foo*bar/baz`. The
value `2` would be displayed if any of `bar`, `foo[*]bar/baz`, or `foo.*baz`
were passed to `\-\-extract\-pattern.
.TP
\fB\-i\fR, \fB\-\-input\fR <PATH>
Search `PATH` for torrents. May be a directory or a single torrent file.
.TP
\fB\-l\fR, \fB\-\-limit\fR <N>
Stop after processing `N` torrents. Useful when processing large collections of
`.torrent` files.