I have an automation that relies on synchronized files in iCloud drive. The file is only ever modified on one device, but for whatever reason, sometimes conflicts arise. I don’t want to debug the source of the conflict for now. I would just like a folder action on the source computer that automatically resolves conflicts by always electing the version from that computer. Has anyone done this before?
I didn’t know CCC had become so versatile - so thanks for that, but I just implemented a simpler solution. I just send the contents of the file through an http-node POST to the other computer anytime it changes, which writes it to a separate local copy. And I changed the script that uses that file as input to use the local copy instead of the iCloud Drive version. The synch is instant. I don’t have to wait for any synch service to decide when to do it. Anytime there is a change to the file, it’s written where it’s needed.
Now I have a separate issue. It seems that every time I check the computer that is the source of the file contents, its iCloud Drive synch is hung. It doesn’t affect this issue anymore, but I keep having to pkill bird
. I don’t care too much about it at all. It’s just annoying. I’m guessing a macOS update will likely fix it…?