项目作者: NaeiKinDus

项目描述 :
Tools to (re)pack CBR / CBZ archives and images
高级语言: Python
项目地址: git://github.com/NaeiKinDus/archive_converter.git
创建时间: 2020-08-07T21:20:45Z
项目社区:https://github.com/NaeiKinDus/archive_converter

开源协议:Apache License 2.0

下载


Introduction

Requirements

Usage

Basics

img_to_archive

Creating one CBZ archive from a directory containing images, using the default (“directory”) naming scheme
```bash

Source directory layout:

-> source_dir/Awesome Comic/The first adventure - T1/

+-> img1.jpg

+-> [ … ]

+-> imgX.png

./img_to_archive.py “source_dir/Awesome Comic/The first adventure - T1” “dst_dir/Awesome Comic”

Output:

-> dst_dir/Awesome Comic/

+-> The first adventure - T1.cbz

  1. > Creating several CBZ archives from images, in multiple directories (1 comic / directory), using the "context" naming scheme
  2. ```bash
  3. # Source directory layout:
  4. # -> source_dir/Awesome Comic/
  5. # +-> The first adventure - T1/
  6. # ++-> img1.jpg
  7. # ++-> [ ... ]
  8. # ++-> imgX.jpg
  9. # +-> Another Adventure - T2/
  10. # ++-> img1.png
  11. # ++-> [ ... ]
  12. # ++-> imgX.png
  13. ./img_to_archive.py --naming-method context --naming-format 'Awesome Comic - {dir}.cbz' "source_dir/Awesome Comic" "dst_dir/Awesome Comic"
  14. # Output:
  15. # -> dst_dir/Awesome Comic/
  16. # +-> Awesome Comic - The first adventure - T1.cbz
  17. # +-> Awesome Comic - Another Adventure - T2.cbz
arc_repack

```bash

  1. #### Renaming target files / directory
  2. ### Examples
  3. **img_to_archive**:
  4. ```bash

arc_repack: