What I want to do:
I have two folders. Each contains about 90,000 xml and bak files.
I need the xml files to sync in both folders when the file changes (of course, the new one must be copied).
The problem is this:
Due to the huge number of files and the fact that one of the directories is a shared network resource, I cannot just loop around the directory and compare the values ββof os.path.getmtime(file) .
Even the watchdog and PyQt do not work (tried the solutions from here and here ).
Question:
Is there any other way to get an event with a modified file (on Windows systems) that works for this configuration without a loop, although all of these files?
source share