I have a server online and I am wondering if there's a way to know if some file on the server is modified or a new file is added to certain directories.
For example, I have this public_html/myblog/files
this directory contains several files. What I want is to be notified by email if one of the current files inside that directory is modified or if a new file is added to that directory. If possible to receiving a message telling me what files are new or were modified.
Is this possible? I am using CentOS 6.8