ZooKeeper is a glue application and a Tracker add-on that lets you specify a shell command or script to be executed on a set of files.