Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

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

ArgumentDescription
<INPUT>Metainfo file to read

Options

OptionDescription
--jsonEmit 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.
--filesInclude the flat file listing Default: false.
--treeRender 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.
--prettyUse 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, --helpPrint help

Global options

OptionDescription
--config, <PATH>Use this configuration file when configuration loading is enabled
--no-configDisable implicit and environment-selected configuration Default: false.
--color, <COLOR>Control colored terminal output Values: auto, always, never.
-v, --verboseIncrease diagnostic verbosity; may be repeated Default: 0.
-q, --quietSuppress human summaries, warnings, and progress Default: false.

Example

$ btpc inspect --help