gmethvin / directory-watcher

A cross-platform Java recursive directory watcher, with a JNA macOS watcher and Scala better-files integration
Apache License 2.0
265 stars 34 forks source link

[Enhancement] Under Windows, use NFTS Journal to access informations #17

Closed jacekmusial closed 4 years ago

jacekmusial commented 6 years ago

When on Windows, and NTFS partition, I believe we could use NTFS USN journal. Program called Everything have it implemented and it is blazing fast.

There are the open-source implementations of this: https://sourceforge.net/projects/ntfs-search/ https://github.com/ChrisS85/FastFileSearch

Community, what do you think? Personally, I'm using Everything every day (:D), thus am thinking it could of some use to this project.

gmethvin commented 6 years ago

@jacekmusial how exactly do you see this being used? The main thing directory-watcher needs to do is notify when a change has happened within a watched directory.