I need to write a supervisory program, for which is given a
directory name and a character string as parameters.
The program have to watch in half minutes the changes in files which names start with that string, and are located in the given directory its subdirectories too.
Under changes I mean :
if the files rights have changed
if the files last access time changed
if the files last modification time changed
I have to write these changes in a new file in this way:
(file name - change type - old value -> new value (date and time))
And finally in every 5 minutes I have screen the changes also on the monitor.
I will be very grateful if someone would help me.