From 003933c2efd387a2528a6047d471cfb4081076c8 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sat, 7 Dec 2024 21:05:36 -0500 Subject: [PATCH] sync-res.sh: fix syncthing id regex --- src/dot_local/bin/executable_sync-res.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dot_local/bin/executable_sync-res.sh b/src/dot_local/bin/executable_sync-res.sh index 29502e9..e8be6ca 100644 --- a/src/dot_local/bin/executable_sync-res.sh +++ b/src/dot_local/bin/executable_sync-res.sh @@ -16,7 +16,7 @@ if [ -z "$1" ]; then die usage: $PROGNAME file.sync-conflict-XXXXXXXX-XXXXXX-XXXXXXX fi -ORIG=$(echo "$1" | sed -E 's/\.sync-conflict-[0-9]{8}-[0-9]{6}-[A-Z]{7}//') +ORIG=$(echo "$1" | sed -E 's/\.sync-conflict-[0-9]{8}-[0-9]{6}-[A-Z0-9]{7}//') if [ "$ORIG" = "$1" ]; then die Could not find original file. Is this a sync-conflict file?