From 7accc4c185b1d168e8cef8c959166451920ae3b2 Mon Sep 17 00:00:00 2001 From: fabian Date: Sat, 27 May 2023 18:11:37 +0200 Subject: [PATCH] escape additional characters --- scripts/escapeFilenames.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/escapeFilenames.sh b/scripts/escapeFilenames.sh index ee17aaa..d0c350f 100755 --- a/scripts/escapeFilenames.sh +++ b/scripts/escapeFilenames.sh @@ -8,6 +8,9 @@ declare -A replacements unset replacements[0] replacements[' ']='_'; replacements[':']='_'; +replacements["'"]='_'; +replacements['(']='_'; +replacements[')']='_'; while [[ $# > 0 ]]; do replacements["$1"]="$2"; shift 2;