Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Like inotify-tools but for OS X's FSEvents
C Shell Perl
Branch: master

Merge pull request #11 from ggreer/tests

Add tests. Add horrible hack that might help #7
latest commit a2fafd2646
@ggreer authored

FSEvents Tools

Command-line tools and scripts that use OS X's FSEvents API. Mostly useful for watching a directory and react to changes in it.


In addition to the typical automake/autoconf/make, you'll need pkg-config. brew install pkg-config should do the trick.

Once you have all the dependencies, just run ./ and make install.

Usage examples

Alert if any files in a directory are changed.

notifywait /path/; echo "\007"

Automatically rsync files to a remote server if any of them are changed.

auto_rsync .

Same as above, but don't copy .pyc files.

notify_loop ~/code/directory rsync -avz --exclude="*.pyc" ~/code/directory/

Related software

  • inotify-tools. The original tools that inspired me to make fsevents-tools.
  • Lsyncd. A service to keep files synced between a master and one or more slave servers.
Something went wrong with that request. Please try again.