This repository has been archived by the owner on Feb 16, 2023. It is now read-only.
Enhance PAPERLESS_FILENAME_FORMAT with structure through tag selection/class or slashes #803
lenucksi
started this conversation in
Feature Requests
Replies: 1 comment
-
I think here is the right place where this could be done. One way I could imagine here is to specify a prefix and use the tag(s) that satisfy the prefix: implementing |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using paperless to convert my stash of scanned and non-scanned documents into a searchable, sorted and consistently named stash of documents that I later access via SMB to process the documents with other applications.
Also, I'm interested in always keeping a file tree that has structure and is usable entirely without paperless (a second effect of the first goal listed above)
I used to have a tree structure like
year/{bank|telco|work}/{vendorname}/[files]
To create something this I'm using
PAPERLESS_FILENAME_FORMAT
and a matching string. I tried to use document types with slashes such asbill/telecommunications
but found them to be rendered asbill-telecommunications
after slash replacement. Using document types for such structure efforts also didn't seen right.I found the opportunity to use the tags (which I'm assigning and generating from a set of ingestion folders) in the filename configuration. However, I found that I can only dump all tags assigned to a document and not structure, select or use them in other ways to create effect described above.
I don't have a ready-to-code idea of how to do such selection but I thought I'd write this up as someone else might have ideas how to do such a selection/structuring or already came up with similar ways to do this.
Beta Was this translation helpful? Give feedback.
All reactions