Change sync-conflict regex pattern.

fln="FILENAME WITHOUT EXTENSION"
ext="EXTENSION"

The sync-conflict regex pattern has changed from

  ${fln}.sync-conflict-YYYYMMDD-HHMMSS.${ext}

to

  ${fln}.sync-conflict-YYYYMMDD-HHMMSS-XXXXXXX.${ext}

where XXXXXXX is some hash code.
master
Dominik Schrempf 8 years ago
parent 447fe242f5
commit 2974c341b3
  1. 2
      syncthing-resolve-conflicts

@ -174,7 +174,7 @@ while IFS= read -u 3 -r -d '' conflict; do
# TODO: Improve pattern match (digits only).
# Original filename.
file="${conflict/.sync-conflict-????????-??????/}"
file="${conflict/.sync-conflict-????????-??????-???????/}"
msg "Sync conflict: %s" "$conflict"
# Handle sync conflict if original file exists.
if [ ! -f "$file" ]

Loading…
Cancel
Save