In our linux server, we have a program running in the background which creates files in a certain directory. I want to get a mail when a new file is added to that dir.
I tried using Java, but that got to complex. So I'm looking for some better idea. Is there some program that can do this or a script?