Answer the question
In order to leave comments, you need to log in
Python pyinotify problems?
Hello. There was a need to monitor the state of the folder and make changes to the database when deleting files from the directory, the python lib pyinotify seems to be a good fit for this.
A simple script works from the manual, but for some files, when they are deleted, it gives the wrong name of the file to be deleted.
Print event called upon deletion:
[Event dir=False mask=0x200 maskname=IN_DELETE name=.fuse_hidden00006c6b0000000b path=/path/to/folder pathname=/path/to/folder/.fuse_hidden00006c6b0000000b wd=8 ]
of the .fuse_hidden00006c6b00 file after the operation there is no deletion in the directory, Google is uncompromisingly silent)
Has anyone encountered a similar problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question