diff --git a/add_archive.sh b/add_archive.sh index 5c0c81e..87ddb81 100755 --- a/add_archive.sh +++ b/add_archive.sh @@ -25,7 +25,6 @@ else fi for file in "${files[@]}"; do - s="$(basename ${file%.*})" # receive input in first argument s="${s//[^[:alnum:]]/-}" # replace all non-alnum characters to - s="${s//+(-)/-}" # convert multiple - to single -