Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
Version 1.4, 2006-08-04
Simplified the code by eliminating custom logging code and unnecessary command line arguments.
Mac OS X 10.5
Watcher is a simple demonstration of the FSEvents API. It monitors a directory hierarchy and keeps track of the total size of the data contained in it. When a directory inside it changes, it recalculates the size of that directory and updates the total size.