Sync-conflict

@Kampie

SOURCE: FAQ — Syncthing documentation

When a file has been modified on two devices simultaneously and the content actually differs, one of the files will be renamed to .sync-conflict--.. The file with the older modification time will be marked as the conflicting file and thus be renamed. If the modification times are equal, the file originating from the device which has the larger value of the first 63 bits for his device ID will be marked as the conflicting file. If the conflict is between a modification and a deletion of the file, the modified file always wins and is resurrected without renaming on the device where it was deleted.

Beware that the .sync-conflict--. files are treated as normal files after they are created, so they are propagated between devices. We do this because the conflict is detected and resolved on one device, creating the sync-conflict file, but it’s just as much of a conflict everywhere else and we don’t know which of the conflicting files is the “best” from the user point of view. Moreover, if there’s something that automatically causes a conflict on change you’ll end up with sync-conflict-…sync-conflict -…-sync-conflict files.

SOLUTION:

  • unsync the computer
  • manually delete all the sync-conflict files from all locations
  • keep the originals