fswatch is a file change monitor that receives notifications when the contents
of the specified files or directories are modified.
fswatch implements four
kinds of monitors:
- A monitor based on the File System Events API of Apple OS X.
- A monitor based on kqueue, an event notification interface introduced in FreeBSD 4.1 and supported on most *BSD systems (including OS X).
- A monitor based on inotify, a Linux kernel subsystem that reports file system changes to applications.
- A monitor based on File Events Notification, a Solaris/Illumos kernel API that reports file events.
- A monitor which periodically stats the file system, saves file modification
times in memory and manually calculates file system changes, which can work
on any operating system where
stat (2)can be used.
fswatch should build and work correctly on any system shipping either of the
Table of Contents
Copyright (C) 2013-2016 Enrico M. Crisostomo
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.