Use this tool to make a log of file changes that has happened to the files that is to be checked.
If any changes are found it will send an email alert to registered user in the script.
How to use?
- ./script /path-of-file /directoy-where-to-save name-of-file
Eg: ./script /var/www/html/index.html /home/index-changes index.html
Where-
index-changes is name of directory
- Insert the email id at end of script where to send alerts.
To: ## your-email-id ##