docs/docs-importer
Benjamin Gamard f70cded634 file importer
2018-03-01 12:28:29 +01:00
..
main.js file importer 2018-03-01 12:28:29 +01:00
package-lock.json init files importer 2018-02-28 22:53:06 +01:00
package.json init files importer 2018-02-28 22:53:06 +01:00
README.md file importer 2018-03-01 12:28:29 +01:00

File Importer

This tool can be used to do a single import of files or to periodically scan for files in an input folder.

Requirements

  • NodeJS 9
  • NPM

Usage

npm install
node main.js

A wizard will ask you for the import configuration and write it in ~/.config/preferences/com.sismics.docs.importer.pref

Daemon mode

The daemon mode scan the input directory every 30 seconds for new files. Once a file is found and imported, it is deleted.