paperless: Change script scan output dir

Still a HACK should not be hard-coded but perhaps installed as a
runnable script on localhost for the role (e.g. `scan-paperless`)
which receives its scanner more dynamically.
This commit is contained in:
Marty Oehme 2025-09-03 15:48:56 +02:00
parent 8137b68676
commit 208cecd5ef
Signed by: Marty
GPG key ID: 4E535BC19C61886E

View file

@ -24,5 +24,5 @@ if ! stat -t out*.png >/dev/null 2>&1; then
fi
magick out*.png out.pdf
mv out.pdf "$HOME/documents/consume/$(date +'%Y-%m-%dT%H-%M')_scan.pdf"
mv out.pdf "$HOME/Nextcloud/Apps/paperless_consume/$(date +'%Y-%m-%dT%H-%M')_scan.pdf"
rm out*.png