Update 2023-12-12 08:39 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id
2023-12-12 08:39:33 +01:00
parent 5ca55ce576
commit 0c920d803b
9 changed files with 58 additions and 42 deletions

View File

@@ -1,5 +1,10 @@
#/bin/sh -xe
. ${HOME}/.bin/_config
needs tesseract--
needs tesseract-deu--
needs tesseract-eng--
needs ocrmypdf--
cd ${PIMDIR}/documents/_incoming
find . -type f -maxdepth 1 -mindepth 1 -name "*.pdf" | xargs -P4 -n1 -t -r -I{} ocrmypdf -l deu $* "{}" "{}"