Skip to content

Latest commit

 

History

History
119 lines (75 loc) · 3.62 KB

README.md

File metadata and controls

119 lines (75 loc) · 3.62 KB

PRETTIER LICENSE LinkedIn Hits


Watch and copy 🍭

Logo

Report Bug · Request Feature

🤔 About The Project

This is a very simple script, which I decided to do, to automate my manual work. Copy files from multiple folders to one, With it, you can watch the addition of new documents in multiple folders. You can define a specific format, or leave it free. In parallel, it performs a function, which deletes old files, to prevent the disk from becoming full.


🔨 Installation

You'll need Node.js installed on your computer in order to build this app.

git clone https://github.com/lucioerlan/watch-folders.git
$ cd watch-folders
$ npm install

🔥 Setup

Copy or rename the file

$ cp .env-examples .env 

Configure

  • Folder List = /src/config/setup.json

  • Files Received = .env


🚀 Running

$ npm start 

Or Run using with Pm2 🌆

$ pm2 start pm2.config.js

💌 Thanks for these

| chokidar | A neat wrapper around Node.js fs.watch / fs.watchFile / FSEvents.!


🔓 License

This project lives under MIT License. See LICENSE for more details. © - Erlan Lucio