I would like to request to CBR support, I could not find any topic on this, but then again that could be my search skills also
My current workaround: (depends on 7zip and unrar)
This is a recursive version: **EVERYTHING ending on .cbr will be converted to cbz**
sudo apt install p7zip-full unrar
Conversion:
Code:
find -type f -iname '*.cbr' -exec sh -c 't="`mktemp -d`";f="{}";unrar x -y "$f" "$t" && 7z a -r -sdel -tzip -mx=9 "${f%r}z" "$t/*";rmdir "$t"' \;
Inplace conversion: (removes original cbr)
Code:
find -type f -iname '*.cbr' -exec sh -c 't="`mktemp -d`";f="{}";unrar x -y "$f" "$t" && 7z a -r -sdel -tzip -mx=9 "${f%r}z" "$t/*" && rm "$f";rmdir "$t"' \;