Try bash implementation with inotifywait