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

BitTorrent metainfo toolkit

See Configuration and global flags and Exit codes and streams.

Synopsis

Usage: btpc [OPTIONS] <COMMAND>

Subcommands

CommandDescription
btpc createCreate canonical v1, v2, or hybrid metainfo from a file or directory

| btpc inspect | Inspect validated metainfo without reading payload files |

| btpc validate | Validate metainfo structure without reading payload files |

| btpc verify | Verify payload files against metainfo hashes |

| btpc edit | Edit metainfo metadata without reading payload files |

| btpc magnet | Print a deterministic magnet URI |

| btpc config | Locate, inspect, validate, and update configuration |

| btpc completion | Generate, install, or uninstall shell completions |

| btpc manpage | Generate the btpc(1) manual page on stdout |

Deprecated aliases

  • btpc completions — Deprecated alias for btpc completion generate

Options

OptionDescription
-h, --helpPrint help
-V, --versionPrint version

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 --help