mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-11-03 11:07:13 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
		
			678 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			678 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
DOCUMENT_ID=${1}
 | 
						|
DOCUMENT_FILE_NAME=${2}
 | 
						|
DOCUMENT_SOURCE_PATH=${3}
 | 
						|
DOCUMENT_THUMBNAIL_PATH=${4}
 | 
						|
DOCUMENT_DOWNLOAD_URL=${5}
 | 
						|
DOCUMENT_THUMBNAIL_URL=${6}
 | 
						|
DOCUMENT_CORRESPONDENT=${7}
 | 
						|
DOCUMENT_TAGS=${8}
 | 
						|
 | 
						|
echo "
 | 
						|
 | 
						|
A document with an id of ${DOCUMENT_ID} was just consumed.  I know the
 | 
						|
following additional information about it:
 | 
						|
 | 
						|
* Generated File Name: ${DOCUMENT_FILE_NAME}
 | 
						|
* Source Path: ${DOCUMENT_SOURCE_PATH}
 | 
						|
* Thumbnail Path: ${DOCUMENT_THUMBNAIL_PATH}
 | 
						|
* Download URL: ${DOCUMENT_DOWNLOAD_URL}
 | 
						|
* Thumbnail URL: ${DOCUMENT_THUMBNAIL_URL}
 | 
						|
* Correspondent: ${DOCUMENT_CORRESPONDENT}
 | 
						|
* Tags: ${DOCUMENT_TAGS}
 | 
						|
 | 
						|
It was consumed with the passphrase ${PASSPHRASE}
 | 
						|
 | 
						|
"
 |