| Crates.io | fb2-clean |
| lib.rs | fb2-clean |
| version | 0.2.2 |
| created_at | 2025-12-07 17:27:55.637758+00 |
| updated_at | 2026-01-02 04:48:03.51291+00 |
| description | A CLI utility for clean fb2 files. |
| homepage | |
| repository | https://github.com/nujievik/fb2-clean |
| max_upload_size | |
| id | 1971966 |
| size | 50,978 |
A CLI utility for clean fb2 files.
Download an archive for your system.
Unpack it.
Run the unpacked fb2-clean in a directory with fb2 files.
Saves cleaned files to the cleaned subdirectory.
Cleans all fb2 and fb2.zip in a directory.
Removes binary, coverpage, and image tags.
Keeps input extension: saves fb2 as fb2 and fb2.zip as
fb2.zip.
Run fb2-clean -h to display help.
| Option | Description |
|---|---|
-i, --input <path> |
Input directory OR file |
-o, --output <dir> |
Output directory |
-r, --recursive [<n>] |
Recursive file search [up to n] |
-t, --tags <n[,m...]> |
Remove tags |
-z, --zip |
Compress fb2 to fb2.zip |
-Z, --unzip |
Uncompress fb2.zip to fb2 |
-f, --force |
Force overwrite input files |
-e, --exit-on-err |
Skip clean next files on error |
-j, --jobs <n> |
Max parallel jobs |
Install Rust
Clone the repo:
git clone https://github.com/nujievik/fb2-clean --depth 1
cd fb2-clean
cargo build --release
target/release/fb2-clean