Automated tagging based on the uploader/consumption directory
racSF opened this issue · 0 comments
Hey there, really, what a wonderful product you guys put together here, works like a charm.
Since I want to use paperless-ng with 3 Users, I search for a nice way to tag incoming documents based on the "sender" - we use either shortcuts(iOS) or share the consume-directory in nextcloud - I read, that it "should" be possible to create subdirectories for automatic tagging, but the process wont start on my instance, if the file is not in the consume-root.
I tried to work on some kind of "adapter" which takes an uploaded file and sends it via the REST Api, but this never worked out well :(
So, is there any way, I could use the consume-directory approach like this:
./consume/Rechnung/test.pdf ---> gets consumed and tagged as "Rechnung"
./consume/User1/user.pdf ---> gets consumed and tagged as "User1"
./consume/normal.pdf ---> gets consumed by the standard-rules
If this should work, how should the subdir be referenced ? As literal tag like "Rechnung" or as TagID from the database (e.g. 5).
Below is the comment from another topic regarding the subdirs ;)
Not exactly sure what you're looking for after reading this twice.
If you put a document into the folder /my_import_dir/tag1/tag2/document.pdf, paperless will add both tag1 and tag2 to the document (at least it should, IIRC).
Originally posted by @jonaswinkler in #1073 (comment)