mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-16 03:26:50 +01:00
Make the names of the sample files visible
This commit is contained in:
parent
60ee08adec
commit
425bbe34ef
1 changed files with 4 additions and 2 deletions
|
|
@ -79,14 +79,16 @@ Pre-consumption script
|
|||
A simple but common example for this would be creating a simple script like
|
||||
this:
|
||||
|
||||
``/usr/local/bin/ocr-pdf``
|
||||
|
||||
.. code:: bash
|
||||
:name: "/usr/local/bin/ocr-pdf"
|
||||
|
||||
#!/usr/bin/env bash
|
||||
pdf2pdfocr.py -i ${1}
|
||||
|
||||
``/etc/paperless.conf``
|
||||
|
||||
.. code:: bash
|
||||
:name: /etc/paperless.conf
|
||||
|
||||
...
|
||||
PAPERLESS_PRE_CONSUME_SCRIPT="/usr/local/bin/ocr-pdf"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue