WANTED: logging of all file operations on Windows

Tim Golden mail at timgolden.me.uk
Mon Jul 10 06:32:11 EDT 2006


[Tim Golden]
>> On the offchance that you haven't seen it, you might
>> look at this:
>>
>> http://timgolden.me.uk/python/win32_how_do_i/watch_directory_for_changes.html#use_readdirectorychanges 

[Claudio Grondi]
> It seems, that it will be necessary to use some logic based on the 
> sequence of events to exactly detect rename and move changes done to 
> files/directories, but in principle it is the best approach I know about 
> yet.
> 
> By the way:
>    Is there something similar/same available for Linux?

I've never used them, but I seem to think there are a couple
of similar things for Linux, based on FAM or inotify:

(result of Googling)

http://python-fam.sourceforge.net/
http://www.gnome.org/~veillard/gamin/python.html
http://rudd-o.com/projects/python-inotify/

YMMV
TJG



More information about the Python-list mailing list