[NTLUG:Discuss] File system modification tracker

Christopher Cox cjcox at acm.org
Wed Feb 13 14:32:15 CST 2013


On 02/13/2013 12:49 PM, Ralph Green wrote:
> Leroy,
>    I think you want to identify the files that are changing.  At least
> that seems to be the first step.  I think I would just use a small
> program to hook into inotify and log what files are changed.  A python
> script to do that should be less than a page.  I can post a simple
> version of it, if it would help.
> Ralph

Not sure if you can use inotify to "watch" a set of files in a directory tree 
though.  You can watch a "directory" (one level) and you can watch for 
particular files... but since it's inode based, I don't think you can easily do 
more (just guessing though).





More information about the Discuss mailing list