Skip to content

watches a folder and moves whatever goes in into another. Not a big deal yet. It will be useful someday.

Notifications You must be signed in to change notification settings

ruben-acevedo/folder-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Folder-Watcher

Folder watcher and trigger

watches a folder and moves whatever enters into another folder.

clone and run:

touch .env

add these on your .env with the respective folders:

WATCHED_FOLDER="your watched folder"
DESTINATION_FOLDER="your destination folder"

if you want to leave this running, install pm2.

npm i -g pm2

then

pm2 start index.js

This could be way more useful.

Probably gonna make it useful in the future.

I just wanted to move my jpgs into a wallpaper folder ;p

About

watches a folder and moves whatever goes in into another. Not a big deal yet. It will be useful someday.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published