added a couple of scripts to encode and decode base64, and a script to convert pdf to cbz
This commit is contained in:
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
for i;
|
||||||
|
do
|
||||||
|
openssl base64 -in "$i" -out "${i%.*}_base64.txt"
|
||||||
|
done
|
||||||
Executable
+4
@@ -0,0 +1,4 @@
|
|||||||
|
for i;
|
||||||
|
do
|
||||||
|
openssl base64 -d -in "$i" -out "${i%.*}.binary_file"
|
||||||
|
done
|
||||||
Executable
+9
@@ -0,0 +1,9 @@
|
|||||||
|
for i;
|
||||||
|
do
|
||||||
|
pdf=$i
|
||||||
|
new_folder=${i%.*}
|
||||||
|
mkdir "$new_folder"
|
||||||
|
pdfimages "$i" -j "$new_folder"/page_
|
||||||
|
7z a -tzip "$new_folder".cbz "$new_folder"
|
||||||
|
rm -R "$pdf" "$new_folder"
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user