A CLI tool to batch-rename, organize, and tag CBZ volumes with ComicInfo.xml metadata.
- Install:
git clone https://github.com/SchmidtiTv/cbz_editor
cd cbz_editor
pip install -e .- Setup:
cbz-editor initCreates folders and stores your Series/Writer info and the Schema for the Output Folders in config.xml.
- Run:
Put chapter
.cbzfiles and optional images (e.g.,title.jpg,p(n).jpg) into thecbzfolder, then:
cbz-editor build_volume 1 --move-originals--move-originalsmoves the source.cbzand extra images intotemp/Volume_1after processing.
- Sequential Renaming: outputs
0001.jpg,0002.jpg, ... - Cover Support: uses
title.jpgas0001.jpgwhen present. - Extra Pages: copies any
p(n).jpginto the sequence before chapters. - Auto-Metadata: writes
ComicInfo.xml(Title, Series, Volume, PageCount, optional Writer). - Combined Archive: creates
Volume_X.cbzcontaining only numbered images andComicInfo.xml. - Safe Archiving: avoids re-adding the output CBZ to itself and supports large volumes (ZIP64).
- Python 3.8+
- Runtime dependencies are installed via
setup.py:click(CLI)tqdm(progress bars)
- Working folders created/used:
cbz/— drop your raw.cbzand optional images heretemp/— originals archived after processing when--move-originalsis usedconfig.xml— stores series metadata
MIT License © 2025 Schmidti