mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 03:16:10 -06:00 
			
		
		
		
	Make the names of the sample files visible
This commit is contained in:
		@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user