From: Chris Koeritz Date: Sat, 21 Sep 2013 17:12:22 +0000 (-0400) Subject: removed < > and " from names also. X-Git-Tag: 2.140.90~921 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=e9f0a1dd5b631103c02d4791c5d7bd01a55cbf07;p=feisty_meow.git removed < > and " from names also. --- diff --git a/scripts/files/spaces_to_underscores.sh b/scripts/files/spaces_to_underscores.sh index 66823e19..8c4696d8 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 A-Z a-z | tr -s ' ' '_' | tr -d "][\\\~',:?" | sed -e 's/\([0-9]\)_\./\1./g' | sed -e 's/_-_/-/' )" + newname="$(echo "$file" | tr A-Z a-z | 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' "