thorod¶
Command-Line Interface¶
Use -h, --help
to display the help for any command.
Collection of torrent utilities.
Options¶
- -V, --version
Output version.
Commands¶
- <command>
Possible choices: abbrs, create, info, magnet, xseed
Sub-commands:¶
abbrs¶
List/Add/Remove tracker abbreviations.
Options¶
- -V, --version
Output version.
Commands¶
- <subcommand>
Possible choices: list, add, remove
Sub-commands:¶
list¶
List tracker abbreviations.
- -V, --version
Output version.
add¶
Add tracker abbreviations.
thorod abbrs add [ABBREVIATION] [TRACKER]
- ABBREVIATION
Abbreviation to use for tracker.
- TRACKER
Tracker to abbreviate.
- -V, --version
Output version.
remove¶
Remove tracker abbreviations.
thorod abbrs remove [ABBREVIATIONS]...
- ABBREVIATIONS
Abbreviations to remove.
- -V, --version
Output version.
create¶
Create a torrent file.
thorod create [OPTIONS] [PATH] [TRACKERS]...
Options¶
- -V, --version
Output version.
Show¶
- --show-progress
Show hashing progress bar.
- --hide-progress
Hide hashing progress bar.
- --show-files
Show files in the summary.
- --hide-files
Don’t show files in the summary.
Local¶
- --no-recursion
Disable recursion when scanning for local files. Recursion is enabled by default.
- --max-depth
Set maximum depth of recursion when scanning for local files. Default is infinite recursion.
- -xp, --exclude-path
Exclude filepaths. Can be specified multiple times.
- -xr, --exclude-regex
Exclude filepaths using regular expressions. Can be specified multiple times.
- -xg, --exclude-glob
Exclude filepaths using glob patterns. Can be specified multiple times. Absolute glob patterns not supported.
Filter¶
- --created-in
Include items created in year or year/month.
- --created-on
Include items created on date.
- --created-before
Include items created before datetime.
- --created-after
Include items created after datetime.
- --modified-in
Include items created in year or year/month.
- --modified-on
Include items created on date.
- --modified-before
Include items modified before datetime.
- --modified-after
Include items modified after datetime.
Torrent¶
- --piece-size
Set piece size. Defaults to automatic calculation. (16k, 32k, 64k, 128k, 256k, 512k, 1m, 2m, 4m, 8m, 16m, 32m, auto)
- --piece-threshold
Set piece count threshold for automatic piece size calculation. Defaults to 2000.
- --created-by
Set created by field. Defaults to ‘thorod 2.1.0’.
- -c, --comment
Set comment field.
- -p, --private
Make torrent private.
- -P, --public
Make torrent public.
- -s, --source
Set source field.
- --md5
Add md5 hash to info dict.
Output¶
- -o, --output
Set name of torrent file. Defaults to input file or directory name.
Input¶
- PATH
File or directory.
Trackers¶
- TRACKERS
Tracker tiers are separated by a space. Trackers on the same tier are separated with a carat (^)
Example: ‘tracker1^tracker2’ tracker3
info¶
Output information about a torrent file.
thorod info [OPTIONS] [TORRENT]
Options¶
- -V, --version
Output version.
Show¶
- --show-files
Show files in the summary.
- --hide-files
Don’t show files in the summary.
Input¶
- TORRENT
Torrent file.
magnet¶
Generate a magnet link from a torrent file.
thorod magnet [OPTIONS] [TORRENT]
Options¶
- -V, --version
Output version.
Input¶
- TORRENT
Torrent file.
xseed¶
Copy a torrent for cross-seeding.
thorod xseed [OPTIONS] [TORRENT]
Options¶
- -V, --version
Output version.
Torrent¶
- --piece-size
Set piece size. Defaults to automatic calculation. (16k, 32k, 64k, 128k, 256k, 512k, 1m, 2m, 4m, 8m, 16m, 32m, auto)
- --piece-threshold
Set piece count threshold for automatic piece size calculation. Defaults to 2000.
- --created-by
Set created by field. Defaults to ‘thorod 2.1.0’.
- -c, --comment
Set comment field.
- -p, --private
Make torrent private.
- -P, --public
Make torrent public.
- -s, --source
Set source field.
- --md5
Add md5 hash to info dict.
Output¶
- -o, --output
Set name of torrent file. Defaults to input file or directory name.
Input¶
- TORRENT
Torrent file.
Trackers¶
- TRACKERS
Tracker tiers are separated by a space. Trackers on the same tier are separated with a carat (^)
Example: ‘tracker1^tracker2’ tracker3