cbr to cbz

for f in *.cbr; do unar -d "$f"; done

(delete all .cbr files)

for i in */; do zip -r "${i%/}.cbz" "$i"; done

(delete previously created sub directories)