4 releases
0.1.3 | Mar 11, 2024 |
---|---|
0.1.2 | Jan 26, 2024 |
0.1.1 | Jan 7, 2024 |
0.1.0 | Jan 7, 2024 |
#1263 in Command line utilities
94 downloads per month
21KB
387 lines
BAZARR BULK CLI
A CLI tool for performing actions in bulk on Bazarr movies and tv shows. List of supported actions:
- sync
- ocr-fixes
- common-fixes
- remove-hearing-impaired
- remove-style-tags
- reverse-rtl
Installation
Install with cargo
bazarr-bulk is published on crates.io. In order to install a Rust crate from crates.io, it is required to have Rust and cargo installed on your system.
cargo install bazarr-bulk
Manual installation from an archive
Latest release page provides an option to manually install the bb binary from an archive. The archive is available for Linux, MacOS, and Windows. Download, extract and move the binary to the desired directory, and set execution permissions.
Linux
- Download the Linux tar.gz archive from the latest release
- Extract the archive
tar xf bazarr-bulk_*_x86_64-unknown-linux-musl.tar.gz
- Move the binary
sudo mv bb /usr/local/bin
- Set execution permissions
sudo chmod +x /usr/local/bin/bb
- Run bb
bb --help
MacOS
- Download the MacOS (apple-darwin) ZIP archive from the latest release
- Extract the archive
unzip bazarr-bulk_*_x86_64-apple-darwin.zip
- Move the binary
sudo mv bb /usr/local/bin
- Set execution permissions
sudo chmod +x /usr/local/bin/bb
- Run bb
bb --help
Windows
- Download the Windows ZIP archive from the latest release
- Extract the archive
- Run bb.exe
Usage
- Create a JSON config file based on the template file.
- Run
bb --config your-config.json
[movies|tv-shows] [ACTION]
General help
bb --help
Usage: bb --config <FILE> <COMMAND>
Commands:
movies perform operations on movies
tv-shows perform operations on tv shows
help Print this message or the help of the given subcommand(s)
Options:
-c, --config <FILE>
-h, --help Print help
Movies
bb movies --help
# perform operations on movies
Usage: bb --config <FILE> movies <COMMAND>
Commands:
sync sync all
ocr-fixes perform OCR fixes on all
common-fixes perform common fixes on all
remove-hearing-impaired remove hearing impaired tags from subtitles
remove-style-tags remove style tags from subtitles
fix-uppercase fix uppercase subtitles
reverse-rtl reverse RTL directioned subtitles
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
TV Shows
bb tv-shows --help
# perform operations on tv shows
Usage: bb --config <FILE> tv-shows <COMMAND>
Commands:
sync sync all
ocr-fixes perform OCR fixes on all
common-fixes perform common fixes on all
remove-hearing-impaired remove hearing impaired tags from subtitles
remove-style-tags remove style tags from subtitles
fix-uppercase fix uppercase subtitles
reverse-rtl reverse RTL directioned subtitles
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
Dependencies
~13–28MB
~445K SLoC