Python CLI to convert PDFs to either CBZ or CBR.
poppler needs to be installed and available in path before using pdf-to-cb.
Debian / Ubuntu
sudo apt install poppler-utils
RHEL / CentOS / Fedora
sudo dnf install poppler poppler-utils
Arch
sudo pacman -S poppler
Mac / OSX
brew install poppler
Windows This isn't tested or fully supported for this package. However, downloading and installing poppler-windows into the system path may work.
pipx is available for Linux, OSX, and Windows. Follow the install instructions first for pipx then the following:
pipx install pdf-to-cb
pdf-to-cb --format cbz *.pdf ~/complete/
Original inspiration: https://github.com/mathewskevin/pdf-to-cbz