royborgman wrote:Since a few weeks all my Hazel rules keeps renaming a file because the file can't be saved in the designated Onedrive folder. Worked for about two years but not anymore. Does anyone experienced something similar? It seems that something changed in the mapping of the Onedrive folders on a system level in macOS Monterey.
Same here..., except that my rule for moving a file from the onedrive folder to an internal MacBook directory no longer works.
The rule no longer works since microsoft rolled out the new version of the onedrive app, which is more integrated into the apple operating system and based on the new apple file framework. The associated "mandatory" file-on-demand function seems to be the cause of the problem. Even if I specify that the file should always be available in the onedrive directory on the macbook and therefore has to be downloaded, it is marked as "available offline" but also still as "not yet downloaded" (?????) . It seems that it is stored in some kind of "intermediate directory". It is indeed available offline (I've tested...), but apparently not yet stored in the target directory. Hazel then seems to have a problem accessing it or performing file operations. Renaming works fine, moving does not

This behavior changes as soon as I open the file (or the link to the file, whatever this seems to be...) in onedrive. It looks like the "real" file is then moved to the actual Onedrive directory. The "only in cloud" marking is no longer present and all my (old) rules run as expected... that's annoying, I don't know what has gotten into microsoft's head.