- 🔄 Converts CBR files to CBZ format
- 🔢 Renames image files with leading zeros for proper sorting
- 🗜️ Recompresses CBZ files for optimized storage
- 🚀 Processes multiple files concurrently for speed
- 🧹 Automatic cleanup of temporary files
- Ensure you have Go 1.23 or later installed on your system.
- Clone this repository:
git clone https://github.com/Romaixn/cbz-converter.git
- Navigate to the project directory:
cd cbz-converter
- Build the project:
go build -o cbz-converter
- Place the
cbz-converter
executable in the directory containing your CBR/CBZ files. - Run the program:
./cbz-converter
- The tool will automatically process all CBR and CBZ files in the current directory.
- 📂 Scans the current directory for CBR and CBZ files
- 📤 Extracts the contents of each archive
- 🔢 Renames image files with leading zeros (e.g., 1.jpg → 001.jpg)
- 🔄 For CBR files: Creates a new CBZ archive and deletes the original CBR
- 🗜️ For CBZ files: Recompresses the archive with the renamed files
- 🧹 Cleans up temporary extraction directories
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GNU General Public License v3.0 License - see the LICENSE file for details.
Happy comic reading! 📚🦸♂️🦸♀️