inotify driven shell script to monitor file system changes in a given directory