[Feature] Allow setting the title from the renamed file #815
Replies: 7 comments 3 replies
-
I'm not sure about this.
|
Beta Was this translation helpful? Give feedback.
-
I agree, it doesn't make sense in an automatic kind of way or under specific circumstances. Maybe it would make more sense to have a bulk "Title" assign function in the "Document view", where I can select a specific subset of documents (through filtering for tags, types). With an additional dropdown I could then assign a plain string or a string with placeholders (for existing data fields like {document_type} except the previous {title}) as new title for all selected documents. Just as an example: 100 documents where the matcher has already successfully matched the document type "Bank statements" and correspondent "My Bank" as well as the "Date created". But all titles are "scan-yyyy-mm-dd-xyz" because of the file name of the scanned file. With the new functionality I could now easily set the title for all documents to: "{document-type} - {month}/{year}" |
Beta Was this translation helpful? Give feedback.
-
I too would really like the ability to set the title by a regex. For example I want to have a proper title for my paychecks corresponding to the month they are for. Don't see how I could achieve this with a tag, as I would have to create a tag for every "year-month" combination, which will get messy pretty quickly. |
Beta Was this translation helpful? Give feedback.
-
I would also think such a function would be really helpful, especially when importing/consuming a lot of similar documents/files. |
Beta Was this translation helpful? Give feedback.
-
For anyone looking for a solution, I wrote |
Beta Was this translation helpful? Give feedback.
-
Wow! This sounds brilliant! I need to give it a try asap. From reading the description, it really seems to do mostly everything I ever imagined. Ives’s only wondering, if you plan to also add support for multiple criteria on the command line? |
Beta Was this translation helpful? Give feedback.
-
Currently the initial title is set from the original filename. In my case this comes from my scanner and is rather meaningless (e.g. duplex27-02-2021-111449.pdf for a duplex scan from today).
I have started to import a lot of files and the matching for correspondent, document type and tags is pretty good. However the title is a problem for me, as I don't want to rename hundreds or thousands of titles. I have enabled file name renaming ({correspondent}/{created_year}/{document_type}-{created}) and it would be good if I could somehow automatically change the title to the renamed file name.
Beta Was this translation helpful? Give feedback.
All reactions