FS Watch
A simple project that watch filesystem changes using inodes and paths.
var w = ; ;
The library scan the whole filesystem in order to create a map of current inodes used on the disk at a given path. Those inodes are used to understand the kind of event that is fired (create/update/move/delete)
create
- a file is createdmove
- a file is moveddelete
- a file is deletedchange
- a file is changed
The library start watching the filesystem after the start
event
Excludes
You can exclude different paths and files (or extensions) using regular expressions
;
Why
Seems that all other projects looks for changes but not detect the move operation (that is often identified as: delete then create).
Notice
This project is actually a proof of concept about move identification and is under development and not stable at all.