Code Monkey home page Code Monkey logo

cbr2cbz's Introduction

Prerequis

you need to install unrar and zip

sudo apt install unrar zip

Installation

Put cbr2cbz in a folder in your PATH (or make a symbolic link to the file)

like in ~/.local/perso/bin (create it if not, do as your want, you can use what you want)

Don't forget to chmod +x cbr2cbz

to extend your $PATH, edit your .bashrc file with somethint like :

## PATH
export PATH="/home/YOURNAME/.local/perso/bin:$PATH"

You can do the same thing with the scripts delete-converted, convert-all, convert-all-replace (meaning putting them in your perso/bin folder, and chmod +x them)

Use

cbr2cbz only do a conversion for 1 file.

cbr2cbz myold_file.cbr will produce a CBZ, in a new folder, called "Converted_comics" in the same directory as the file

However, with the option -r (for REPLACE), it WILL replace your file (after a checking of the integrety of the newly zipped file). Make some tests !

cbr2cbz my_file.cbr -r WILL replace your file (and renamming it by changing the extension in .cbz)

For a full folders and sub-folders (recursively)

Use the convert-all (for testing) It calls the cbr2cbz tool, with no -r, so it's safe, it will create new commics in Converted_comics folders, in all your tree of folders.)

It will recursively treat all the comics, down your CURRENT DIRECTORY.

You can delete those Converted_comics folders, after checking all is good, by using the delete-converted script / command

And, if you are happy with your testing, you can launch convert-all-replace.

Be CAREFULL !!! It will treat all your cbr/cbz files recursively and REPLACE the original ones.

cbr2cbz's People

Contributors

sergeileduc avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.