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
| Argument | Description |
|---|---|
<NAME> | Preset name |
Options
| Option | Description |
|---|---|
--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 |
--private | Set 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-hidden | Exclude 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-files | Exclude zero-length files Default: false. |
--reject-empty-directories | Reject 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, --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 config preset save --help