mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-04-17 10:13:56 -05:00
Make the names of the sample files visible
This commit is contained in:
parent
60ee08adec
commit
425bbe34ef
@ -79,14 +79,16 @@ Pre-consumption script
|
|||||||
A simple but common example for this would be creating a simple script like
|
A simple but common example for this would be creating a simple script like
|
||||||
this:
|
this:
|
||||||
|
|
||||||
|
``/usr/local/bin/ocr-pdf``
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
:name: "/usr/local/bin/ocr-pdf"
|
|
||||||
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
pdf2pdfocr.py -i ${1}
|
pdf2pdfocr.py -i ${1}
|
||||||
|
|
||||||
|
``/etc/paperless.conf``
|
||||||
|
|
||||||
.. code:: bash
|
.. code:: bash
|
||||||
:name: /etc/paperless.conf
|
|
||||||
|
|
||||||
...
|
...
|
||||||
PAPERLESS_PRE_CONSUME_SCRIPT="/usr/local/bin/ocr-pdf"
|
PAPERLESS_PRE_CONSUME_SCRIPT="/usr/local/bin/ocr-pdf"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user