caligulaca3sar / cbz-create Goto Github PK
View Code? Open in Web Editor NEWScript to zip up multiple folders containing image files into .cbz archives.
Script to zip up multiple folders containing image files into .cbz archives.
If you attempt to use cbz-create on a folder with files in an acceptable format but with extensions in all caps, it does not detect any valid files due to file extension matching being case-sensitive
I don't know if this repo will be updated to fix this issue because the owner hasn't commit any changes to any of their repos in some time, so a quick fix I did for anyone else who stumbles upon this while having this problem is to somehow mass-rename the files to either change the file extension to all lower case, or just append the same file extension in locaps to the end of the files. I did the second using the following bash script:
for file in *; do mv -- "$file" "$file.jpg"; done
The two file extensions thing is ugly, but considering I imagine most people who are going to be using this plan on deleting the original files afterwards anyways, it's not really a problem. Obviously you're going to want to replace 'jpg' with whatever extension matches in your situation.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.