eikek / eikek/docspell

[BETA] Import files and metadata from Paperless

Open
#358 3 comments 2 reactions 0 assignees View on GitHub
documentation
Dominant language
Elm
Stars
2.3k
Forks
184
Avg merge
8h 2m
Merged PRs (30d)
4

Description

**Import script in https://github.com/eikek/docspell/blob/master/tools/import-paperless/**

Data transferred:
* files
* metadata
* title
* tags
* correspondent as organization
* creation date

Please be aware that existing information of existing documents will be overwritten. So when you already have a document in Docspell which is also in Paperless, it won't be added again (by checksum) but the attributes (title, tags, ...) will be overwritten!

----

After using [Paperless](https://github.com/the-paperless-project/paperless/) for quite a while, I figured out that there is some room for improvement but only little work still done on the project, what is totally fine as it is a private and open-source project!

Still, I came around Docspell and found it to have quite a potential, especially regarding the AI and AI-like features growing. Still I wanted to transfer the tagging and structure from Paperless to Docspell and not only import the files and start over the managing process once again.

That is why I put in my dirty bash scripting skills and made a script, which reads the files from the internal documents folder of Paperless and extracts tags and correspondents from Paperless and imports them to Docspell using the official API, so no dirty DB writes or something like that!

----

Please, everybody who also comes from Paperless, try out this script! If in need of help, just ask here or on [Gitter](https://gitter.im/eikek/docspell). And if you have suggestions for improvement tell me or even better make a pull request :-)

I will leave this ticket for discussion open

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.