in reply to Notification of a new file added to directory

This might seem like a big hammer for a small problem, but check out AIDE.

It's a tripwire like ( minus the silly licensing ) utility that will checksum files and directory trees and let you know about all changes. It's also configurable enough to ignore changes you aren't interested in.

Sample output:

AIDE found differences between database and filesystem!!
Start timestamp: 2002-09-23 03:30:00
Summary:
Total number of files=18158,added files=1,removed files=1,changed files=0

Added files:
added:/etc/rc3.d/S7snmpdx
Removed files:
removed:/etc/rc3.d/s76snmpdx

End timestamp: 2002-09-23 03:30:04
  • Comment on Re: Notification of a new file added to directory