Reputation: 13356
I use pyinotify to monitor my file system. The problem is when I rename a directory and create file in the renamed directory, the event is raised from original path(referred by event.name
). Can't figure out what is wrong? Any problem with the add_watch
flag when initializing the watcher? Currently the flag is set as rec=True, auto_add=True
.
Thanks and best regards.
Upvotes: 1
Views: 674