Created
April 19, 2013 12:18
-
-
Save Crhistoph/5419985 to your computer and use it in GitHub Desktop.
Creates numbered .cbz files from image directories.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for D in `find * -type d` | |
do | |
cd $D | |
zip -0 -m relative/path/to/comics/My\ Awesome\ Comic\ 0$D.cbz * >/dev/null | |
echo "$D zipped" | |
cd ../ | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment