10 lines
237 B
Plaintext
Executable File
10 lines
237 B
Plaintext
Executable File
#/bin/sh -xe
|
|
. ${HOME}/.bin/_config
|
|
|
|
doas pkg_add tesseract tesseract-deu ocrmypdf
|
|
|
|
mkdir -p ${PIMDIR}/documents/_incoming
|
|
mv -f /tank/scanner/*.pdf ${PIMDIR}/documents/_incoming/
|
|
${HOME}/.bin/documents-update
|
|
${HOME}/.bin/documents-ocr
|