dotfiles/.bin/documents-ocr

7 lines
174 B
Plaintext
Raw Normal View History

2023-02-22 08:31:38 +01:00
#/bin/sh -xe
. ${HOME}/.bin/_config
cd ${PIMDIR}/documents/_incoming
find . -type f -maxdepth 1 -mindepth 1 -name "*.pdf" | xargs -P4 -n1 -I{} ocrmypdf -l deu $* "{}" "{}"