[NTLUG:Discuss] File system modification tracker
Leroy Tennison
leroy_tennison at prodigy.net
Thu Feb 14 18:21:39 CST 2013
On 02/13/2013 03:18 PM, Ralph Green wrote:
> Howdy,
> Yes, you can watch all the files in a directry. In fact, that is
> all you can do. You have to setup a separate inotify callback for
> each directory.
> Ralph
>
>
> On 2/13/13, Christopher Cox <cjcox at acm.org> wrote:
>> 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).
>>
>>
>>
>> _______________________________________________
>> http://www.ntlug.org/mailman/listinfo/discuss
>>
> _______________________________________________
> http://www.ntlug.org/mailman/listinfo/discuss
>
Thanks for the feedback. Since I don't know what I'm looking for
(except that it probably is somewhere below .kde4) the inotify option
(which I barely knew about before this) looks like it might get unwieldy.
More information about the Discuss
mailing list