jonaswinkler / paperless-ng

A supercharged version of paperless: scan, index and archive all your physical documents
https://paperless-ng.readthedocs.io/en/latest/
GNU General Public License v3.0
5.37k stars 355 forks source link

Alter filename by extracted metadata #427

Closed Matthias84 closed 3 years ago

Matthias84 commented 3 years ago

Hi, I usually add documents, which have just numbers / timestamp as filename and aren't easy to distinguish. Would it be possible, to add an option, where the filename of new files can be prefixed / suffixed if the consumer was able to extract metadata as documenttype / contact / tags / ... ?

shamoon commented 3 years ago

Exporter has this see https://github.com/jonaswinkler/paperless-ng/issues/166

jonaswinkler commented 3 years ago

If you're referring to adjusting the filename in the media directory based on metadata, look up PAPERLESS_FILENAME_FORMAT.

If you're suggesting adding the correspondent name, type, or tags to the title of the document (as displayed in the web UI): That won't happen, since it is redundant to have that information both assigned to a document as well as in the title.