Skip to content

A script for copying new files to the paperless-ngx consume directory

License

Notifications You must be signed in to change notification settings

epoblaguev/paperless-ngx-copier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

paperless-ngx-copier

A script for copying new files to the paperless-ngx consume directory

Quick Start

  1. Create a JSON configuration file based on the example config in this repo.
  2. Run paperless-sync.py with the path to the config file as the only parameter:
    python3 paperless-sync.py /path/to/config.json

Config File

{
    "file_extensions": ["pdf", "png", "jpg"],  // List of file extensions to be copied
    "scan_paths": [  // List of paths to scan for documents to copy
        "/path/to/documents/",
        "/another/path/to/documents/"
    ],
    "output_dir": "/path/to/paperless-ngx/consume/folder",  // Path to the Paperless-ngx 'consume' folder
    "history_store_path": "/path/to/history.json",  // Path to the JSON file that contains a history of copied files. This file stores a list of all copied files and their md5 hash / timestamp
    "calculate_md5_hash": true  // If true - use MD5 hash to check if a file has changed since it was last copied. If false - use modified date
}

About

A script for copying new files to the paperless-ngx consume directory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages