CBZ2EPUB is a command-line tool for working with comic book archives. It allows you to merge multiple CBZ (Comic Book ZIP) files into a single file and convert CBZ files to EPUB format for e-readers.
- Merge multiple CBZ files into one, with proper renaming to avoid conflicts
- Convert CBZ files to EPUB format
- Process files in bulk with recursive directory scanning
- Simple command-line interface
Pre-built binaries for various platforms are available on the Releases page.
- Go 1.18 or later
-
Clone the repository:
git clone https://github.com/DimazzzZ/cbz2epub.git cd cbz2epub -
Build the application:
go build -o cbz2epub
-
(Optional) Install the application to your PATH:
sudo mv cbz2epub /usr/local/bin/
-
Clone the repository:
git clone https://github.com/DimazzzZ/cbz2epub.git cd cbz2epub -
Build the application:
go build -o cbz2epub.exe
-
(Optional) Add the directory to your PATH or move the executable to a directory in your PATH.
CBZ2EPUB - A tool for merging CBZ files and converting them to EPUB
Usage:
cbz2epub -merge [-output filename.cbz] file1.cbz file2.cbz ...
cbz2epub -convert [-output filename.epub] file.cbz
cbz2epub -convert -recursive [directory]
Options:
-convert
Convert CBZ to EPUB
-merge
Merge multiple CBZ files into one
-output string
Output file name
-recursive
Process directories recursively
-verbose
Enable verbose output
Merge multiple CBZ files into a single file:
cbz2epub -merge -output merged.cbz chapter1.cbz chapter2.cbz chapter3.cbzor just all files in the dir:
cbz2epub -merge -output merged.cbz chapter*.cbzIf no output file is specified, the default name "merged.cbz" will be used:
cbz2epub -merge chapter1.cbz chapter2.cbz chapter3.cbzConvert a single CBZ file to EPUB:
cbz2epub -convert -output mycomic.epub comic.cbzIf no output file is specified, the output filename will be derived from the input filename:
cbz2epub -convert comic.cbz
# Creates comic.epubConvert all CBZ files in the current directory:
cbz2epub -convert -recursive .Convert all CBZ files in a specific directory and its subdirectories:
cbz2epub -convert -recursive /path/to/comicsAdd the -verbose flag to get more detailed output:
cbz2epub -convert -verbose -recursive /path/to/comicsThis project is licensed under the MIT License.
Contributions are welcome! Please feel free to submit a Pull Request.