btpc inspect
Inspect validated metainfo without reading payload files
Parent: btpc
See Configuration and global flags and Exit codes and streams.
Synopsis
Usage: btpc inspect [OPTIONS] <INPUT>
Arguments
| Argument | Description |
|---|---|
<INPUT> | Metainfo file to read |
Options
| Option | Description |
|---|---|
--json | Emit versioned JSON to stdout Default: false. |
--field, <FIELDS> | Select a field; may be repeated Values: mode, name, total-size, piece-length, piece-count, file-count, hash-v1, hash-v2, private, trackers, web-seeds, nodes, comment, creator, creation-date, source, canonicality, warnings, files, unknown-fields. |
--files | Include the flat file listing Default: false. |
--tree | Render files as a deterministic tree Default: false. |
--path-encoding, <PATH_ENCODING> | Encode raw torrent paths Values: utf8, escaped, hex. Default: utf8. |
--offset, <OFFSET> | Skip this many file rows Default: 0. |
--limit, <LIMIT> | Limit returned file rows |
--format, <FORMAT> | Select output representation Values: human, plain, json, json-pretty, tsv. |
--pretty | Use the expanded human renderer Default: false. |
--max-input-bytes, <MAX_INPUT_BYTES> | Maximum metainfo bytes accepted while loading |
--max-owned-bytes, <MAX_OWNED_BYTES> | Maximum estimated owned allocation while loading |
--max-integer-digits, <MAX_INTEGER_DIGITS> | Maximum decimal digits accepted in one bencode integer |
-h, --help | Print help |
Global options
| Option | Description |
|---|---|
--config, <PATH> | Use this configuration file when configuration loading is enabled |
--no-config | Disable implicit and environment-selected configuration Default: false. |
--color, <COLOR> | Control colored terminal output Values: auto, always, never. |
-v, --verbose | Increase diagnostic verbosity; may be repeated Default: 0. |
-q, --quiet | Suppress human summaries, warnings, and progress Default: false. |
Example
$ btpc inspect --help