Question

I'm currently developing a C++ application which should monitor the file system to reindex a set of files when they change. I am currently using Linux' inotify system, but would like the application to be as broadly portable to other systems as possible.

Do you know of high-level, portable filesystem monitoring libraries, which would work at least on Linux and Mac OSX? (and have C or C++ bindings?)

Was it helpful?

Solution

There is Qt with QFileSystemWatcher

QFileSystemWatcher Class

The QFileSystemWatcher class provides an interface for monitoring files and directories for modifications. More...

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top