Skip to content

🐩 A simple and effective script for everyday life.

Notifications You must be signed in to change notification settings

lucioerlan/Watch-Folders

Repository files navigation

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

About

🐩 A simple and effective script for everyday life.

Topics

Resources

Stars

Watchers

Forks