1

Possible Duplicate:
Can a bash script be hooked to a file?

Is it possible to mount a mechanism to a file to perform an action (e.g. mark the change in some log file and such) each time the file is modified? I would like to be able to see what all the files modified are in a given time period or receive an alert each time someone modifies a file.

amphibient
  • 12,472
  • 18
  • 64
  • 88

1 Answers1

5

You can use incron for this if your os and filesystem support inotify.