From 3820ea02979155243c62af6113d99b5463f55013 Mon Sep 17 00:00:00 2001 From: fabian Date: Thu, 18 Jan 2024 15:50:08 +0100 Subject: [PATCH] updated more or less common characters that could need escaping --- scripts/escapeFilenames.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/escapeFilenames.sh b/scripts/escapeFilenames.sh index d0c350f..e41eb3e 100755 --- a/scripts/escapeFilenames.sh +++ b/scripts/escapeFilenames.sh @@ -11,6 +11,8 @@ replacements[':']='_'; replacements["'"]='_'; replacements['(']='_'; replacements[')']='_'; +replacements['[']='_'; +replacements[']']='_'; while [[ $# > 0 ]]; do replacements["$1"]="$2"; shift 2;