Script: email alert on directory changes

dirlistdiff.sh is a simple bash script to send an email alert when items are either added or removed from a directory. The script is intended to be run as a cron job on a regular basis.

My use case: to receive a daily alert when a new directory is created on an rsyslog server, which designates a new host is forwarding logs to the syslog collector.

You can download dirlistdiff from the Downloads page.

Leave a Reply

Your email address will not be published. Required fields are marked *