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 config preset save

Save or replace a preset

Parent: btpc config preset

See Configuration and global flags and Exit codes and streams.

Synopsis

Usage: btpc config preset save [OPTIONS] <NAME>

Arguments

ArgumentDescription
<NAME>Preset name

Options

OptionDescription
--extends, <EXTENDS>Parent preset; may be repeated
--mode, <MODE>Torrent protocol representation Values: v1, v2, hybrid.
--piece-length, <PIECE_LENGTH>Explicit piece length in bytes
--privateSet the private flag Default: false.
--source, <SOURCE>Set the source field
--comment, <COMMENT>Set the top-level comment
--created-by, <CREATED_BY>Set the creator string
--creation-date, <CREATION_DATE>Set the Unix creation timestamp
--name, <NAME_OVERRIDE>Override the torrent root name
--exclude-hiddenExclude dot-prefixed files and directories Default: false.
--symlinks, <SYMLINKS>Symbolic-link policy Values: reject, skip, follow.
--special-files, <SPECIAL_FILES>Special-file policy Values: reject, skip.
--exclude-empty-filesExclude zero-length files Default: false.
--reject-empty-directoriesReject empty directories instead of ignoring them Default: false.
--tracker, <TRACKERS>Add a tracker as its own 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
--web-seed, <WEB_SEEDS>Add a web seed URL; may be repeated
--include, <INCLUDES>Include only paths matching this glob; may be repeated
--exclude, <EXCLUDES>Exclude paths matching this glob; may be repeated
--threads, <THREADS>v1 hashing threads; 0 selects automatic, 1 is sequential
-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 config preset save --help