Using inotifywatch from inotify-tools to monitor
filesystem and log changes.
Requires inotify
Hint: In addition to logging you can also do other stuff on FS change using this script.
-
logdirchange: bash script doing monitoring & logging.
-
dirstowatch: list of file system paths to monitor.
-
lcd: same script without comments, only 10 lines.