How to Continuously Monitor a Directory Using dnotify or inotify
inotify liveThe inotify API identifies affected files by filename. However, by the time an application processes an inotify event, the filename may already have been deleted or renamed. The inotifyInotifywait is a Linux command