Recursive inotify loop with external command calling on certain events.