Skip to content

jmattheis/bash-cbz-merger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

bash-cbz-merger

Download

$ wget https://raw.githubusercontent.com/jmattheis/bash-cbz-merger/master/cbz-merger.sh
$ chmod +x cbz-merger.sh

Usage

NAME:
    cbz-merger.sh Merges cbz files.

DESCRIPTION:
    This script does the following following for each .cbz file (configurable via --extension):
      1. Extract files to --temp-dir
      2. Rename files to cbz-filename_filename.
         F.ex. if there was a file 018.png inside Chapter1.cbz
         it would be renamed to Chapter1.cbz018.png
      3. Add renamed files to --output

    The renaming is done to keep ordering and not have duplicates inside the cbz file.

USAGE:
    cbz-merger.sh [OPTIONS]

OPTIONS:
    --input value, -i value       Define the input directory. (required)
    --output value, -o value      Define the output file. (required)
    --extension value             Define the extension. (default: .cbz)
    --temp-dir value              Define the temp directory where files get extracted. (default: .cbz-merger)
    --clean-temp                  Clean the temp directory before merging the files.
    --override                    Override the --output file if it exist.

EXAMPLES:
    ./cbz-merger.sh --input ./mymanga --output ./manga.cbz
    ./cbz-merger.sh --input "./My Manga" --output merged.cbz --override --clean-temp

SOURCES:
    https://github.com/jmattheis/bash-cbz-merger

About

A bash script for merging multiple cbz files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages