dotfiles/.bin/documents-import
2023-11-19 08:40:50 +01:00

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