This is a very simple and quick personal project for a specific use case where I needed .rar files extracted from a watched folder automatically.
git clone [email protected]:pcanterini/media-extractor.git
cd media-extractor && npm install
npm install forever -g
- Make sure to edit index.js with source and destination for files
forever start index.js
inside the cloned folder
forever stop index.js
inside the cloned folder