autoresolve conflicts

Get help for specific problems
Posts: 1
Joined: 31 Aug 2021

thierryvdv

Hi,
When there is a conflict due to files changed at both locations, how can I configure the tool to automatically select the newest file and sync this instead of manually defining each action on each line?
User avatar
Posts: 2946
Joined: 22 Aug 2012

Plerry

> ... due to files changed at both locations ...
Apparently you use the Two-way sync variant, or at least the "Detect moved files" option.
If you want/need the moving, renaming and/or deletion detection, there is no direct way to automatically copy the newest version of a given file if both sides have changed since the last sync.

You can instead define a Custom sync variant under Synchronization Settings (F8), but this can not be used in combination with "Detect moved files" capability. If you do not need this capability, a Custom sync variant may be your way to go.

The indirect way to retain the advantages of the "Detect moved files" and (also) automatically copy the newest version of a given file if both sides have changed since the last sync, is to first run your normal Two-way sync (which will leave unresolved conflicts for files that have changed on both sides), and then run a Custom sync variant on the same left-right folder pair with the following Actions for the different Categories:
• "Item exists on left-side only" => "Do nothing" (this Category should be empty after a Two-way sync)
• "Left side is newer" => "Update right item" (half the "fix" for the previous conflict)
• "Conflict/item can not be categorized" => "Leave as unresolved conflict" (and resolve manually)
• "Right side is newer" => "Update left item" (the other half of the "fix" for the previous conflict)
• "Item exists on right-side only" => "Do nothing" (this Category should be empty after a Two-way sync)
However, this will likely cause an (unnecessary) extra copy over of said files when running the next Two-way sync. But this should be safe and not cause data loss.
User avatar
Posts: 4867
Joined: 11 Jun 2019

xCSxXenon

In short, define a custom sync and you can decide what to do with conflicts