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:
parent
8137b68676
commit
208cecd5ef
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue