Add steps to get files from .epub mangas
This commit is contained in:
parent
52c0e21235
commit
b2a334bc08
8
arch-config/scripts/pieces/manga-extract-epub.sh
Normal file
8
arch-config/scripts/pieces/manga-extract-epub.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
set -euo pipefail
|
||||||
|
|
||||||
|
# 1. extract .epub
|
||||||
|
# 2. images under "(folder name)/OEBPS/image"
|
||||||
|
# 3. rename images to "pageXXX.(ext)"
|
||||||
|
# 4. move to "(folder name)"
|
||||||
|
# 5. delete folders "META-INF", "OEBPS" and file "mimetype"
|
Loading…
Reference in New Issue
Block a user