Any ways to show file changes (with pyinotify for example)?
问题 Is there any way to print a watched file modification ? let's take an example: I'm monitoring file.txt, Pyinotify can tell me that it has been modified, but It can't seem to be able to output what changes occured ? Am I wrong ? How can I see what changes has been made to a file that I'm monitoring ? Big thanks in advance, sorry for my bad english. 回答1: The inotify mechanism does not embed the deltas in the event, because it should compute it before saving the files and this could affect