btpc edit
Edit metainfo metadata without reading payload files
Parent: btpc
See Configuration and global flags and Exit codes and streams.
Synopsis
Usage: btpc edit [OPTIONS] <INPUT>
Arguments
| Argument | Description |
|---|---|
<INPUT> | Metainfo file to edit |
Options
| Option | Description |
|---|---|
-o, --output, <OUTPUT> | Write the edited metainfo to this path |
--in-place | Replace the input file atomically Default: false. |
-f, --force | Replace an existing output file Default: false. |
--durable | Sync the destination directory after publication where supported Default: false. |
--dry-run | Validate and report changes without writing output Default: false. |
--diff | Print a deterministic field-level change summary Default: false. |
--json | Emit a versioned JSON result to stdout Default: false. |
-a, --tracker, <TRACKERS> | Replace trackers with this tracker tier; may be repeated |
--tracker-alias, <TRACKER_ALIASES> | Add a configured tracker alias; may be repeated |
--tracker-group, <TRACKER_GROUPS> | Add a configured tracker group; may be repeated |
--clear-trackers | Remove all trackers Default: false. |
--web-seed, <WEB_SEEDS> | Replace web seeds with this URL; may be repeated |
--clear-web-seeds | Remove all web seeds Default: false. |
--node, <NODES> | Replace DHT nodes with HOST:PORT; may be repeated |
--clear-nodes | Remove all DHT nodes Default: false. |
--comment, <COMMENT> | Set the top-level comment |
--clear-comment | Remove the top-level comment Default: false. |
--created-by, <CREATED_BY> | Set the creator string |
--clear-created-by | Remove the creator string Default: false. |
--creation-date, <CREATION_DATE> | Set the Unix creation timestamp |
--clear-creation-date | Remove the creation timestamp Default: false. |
--private | Set the private flag Default: false. |
--public | Set the private flag to false Default: false. |
--clear-private | Remove the private field Default: false. |
--source, <SOURCE> | Set the source field |
--clear-source | Remove the source field Default: false. |
--file-attributes, <FILE_ATTRIBUTES> | Set file attributes as PATH=ATTRS; may be repeated |
-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 edit --help