Wednesday, September 15, 2010

Monitoring changes in filesystem

Hi there,

here a quick hint how to monitor changes in files and folders:

inotifywait --exclude 'log' -rme modify,attrib,move,close_write,create,delete,delete_self folder/

This example show everything beside changes that are made on files which have the string "log" in its name.

You can use this to see for example what config files are change by a program.

No comments:

Post a Comment