Add 07-install-binaries.sh module

This commit is contained in:
Rezart Qelibari
2022-04-07 00:27:00 +02:00
parent 7205af985f
commit 203cef9bf6
6 changed files with 348 additions and 0 deletions

9
bin/ocr Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
for pdf in ./*.pdf; do
filename="`basename "${pdf}"`";
path="`dirname "${pdf}"`";
mkdir -p OCRed;
printf 'OCRing %s' "${pdf}";
ocrmypdf -l deu "${pdf}" "${path}/OCRed/${filename}";
printf '...done\n';
done