Tag: self-host

  • Automatically synchronize documents with Paperless-ngx on macOS

    On the one hand, I use a rather classic local file structure to manage my documents, but also use Paperless-ngx to manage them (and especially for search). Thus, I want to keep my local structure, but also automatically upload the documents in Paperless-ngx.

    Until now, it was a manual process where I added new documents into the correct folder on my local system and then used the web upload from Paperless-ngx. But this is cumbersome and redundant.

    I first searched for an app that could automatically upload the file to my Paperless-ngx’s “consume” folder when adding it to the documents, but none of the available apps worked for me.

    Then, I stumbled upon the possibility to use a shortcut automation in macOS for it. You can basically start an automation when files are added to a folder with the “Folder” automation (then, select the folder and select the “Added” checkbox for the “When Any Item Is” option). Then, when this automation is executed, you can get a list of all added files, check for supported file extensions and copy them anywhere you want – in this case: into the consume folder of Paperless-ngx.

    You can find the shortcut itself attached in a ZIP file. Unzip and open it to add it to your Shortcuts app.