CodePlea icon
CodePlea
Random thoughts on programming

File System Monitoring: FsGhost


Summary

Fork me on GitHub

FsGhost Logo

FsGhost is a tiny cross-platform command-line tool to monitor and notify of file changes in a given directory. FsGhost works natively on Windows and Linux. Its only dependencies are the operating system headers for your platform. FsGhost is self contained in one C file and is extremely easy to compile.

Usage Example

Simply give FsGhost the directory to monitor, and it'll write to stdout any file changes.

FsGhost Demo

Features

  • ANSI C with no external dependencies.
  • Contained in a single source code file.
  • Released under the zlib license - free for nearly any use.
  • Does not use polling! Uses efficient OS APIs for file monitoring.

Links