inotify
How to Perform a Task When a New File is Added to a Directory in Linux
https://www.howtogeek.com/405468/how-to-perform-a-task-when-a-new-file-is-added-to-a-directory-in-linux/
Linux can send a notification every time a file is added to a directory. Here's how to use that for automation.
Added 1 month ago