From: Chris Koeritz Date: Wed, 15 May 2013 15:39:55 +0000 (-0400) Subject: removing commas from names now also. X-Git-Tag: 2.140.90~984 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=315244d294334e215c96855af17d37edd746b491;p=feisty_meow.git removing commas from names now also. --- diff --git a/scripts/files/spaces_to_underscores.sh b/scripts/files/spaces_to_underscores.sh index b9682c67..6c955611 100644 --- a/scripts/files/spaces_to_underscores.sh +++ b/scripts/files/spaces_to_underscores.sh @@ -12,7 +12,7 @@ fi while [ $# -gt 0 ]; do file="$1"; shift - newname="$(echo "$file" | tr -s ' ' '_' | tr -d "\~'" | sed -e 's/\([0-9]\)_\./\1./g' | sed -e 's/_-_/-/' )" + newname="$(echo "$file" | tr -s ' ' '_' | tr -d "\~'," | sed -e 's/\([0-9]\)_\./\1./g' | sed -e 's/_-_/-/' )" if [ "$file" != "$newname" ]; then # we've effected a name change, so let's actually do it. echo "moving '$file' => '$newname' "