#/bin/sh -xe . ${HOME}/.bin/_config 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