dotfiles/.bin/documents-import

10 lines
237 B
Plaintext
Raw Normal View History

2022-12-09 07:54:57 +01:00
#/bin/sh -xe
. ${HOME}/.bin/_config
doas pkg_add tesseract tesseract-deu ocrmypdf
2022-12-09 07:54:57 +01:00
mkdir -p ${PIMDIR}/documents/_incoming
mv -f /tank/scanner/*.pdf ${PIMDIR}/documents/_incoming/
${HOME}/.bin/documents-update
2023-01-13 13:46:11 +01:00
${HOME}/.bin/documents-ocr