Hi,
I'm completely new to this and normally never touch python if I can avoid it, so please bear with me. I have a setup where I feed documents straight from a scanner via FTP into paperless, the subdirectories of the upload directory get turned into tags. All documents that are scanned this way have the 'scanned' tag.
I want to name the documents accordingly. Not the filenames, but the title metadata. I have an very simple ruleset and it does not seem to work. I don't understand why:
---
FixScannedDocumentTitles:
match: "{{ 'scanned' in tag_list }}"
metadata_postprocessing:
title: '{{ tag_list[1] }}-{{ document_id }}({{ document_type }})'
---
I see no errors in the logs. What am I overlooking?
Hi,
I'm completely new to this and normally never touch python if I can avoid it, so please bear with me. I have a setup where I feed documents straight from a scanner via FTP into paperless, the subdirectories of the upload directory get turned into tags. All documents that are scanned this way have the 'scanned' tag.
I want to name the documents accordingly. Not the filenames, but the title metadata. I have an very simple ruleset and it does not seem to work. I don't understand why:
I see no errors in the logs. What am I overlooking?