How can I monitor a whole directory tree for changes in Linux (ext3 file system)?
Currently the directory contains about half a million files>
$ inotifywait -m -r /path/to/your/directory
This command is enough to watch the directory recursively for all events such as access, open, create, delete ...