added jaunter scripts and tools.
[feisty_meow.git] / scripts / files / spaces_to_underscores.sh
index ebfbcff6a14fcda2e61ca5ae0919c4c66d50b0cd..eb56f7bb6db7839fb4d1b3f9165c0825d6e1784c 100644 (file)
@@ -12,7 +12,7 @@ fi
 
 while [ $# -gt 0 ]; do
   file="$1"; shift
-  newname="$(echo "$file" | tr ' ' '_' | tr -d "'" | sed -e 's/\([0-9]\)_\./\1./g' )"
+  newname="$(echo "$file" | tr ' ' '_' | tr -d "\~'" | sed -e 's/\([0-9]\)_\./\1./g' )"
   if [ "$file" != "$newname" ]; then
     # we've effected a name change, so let's actually do it.
     echo "moving '$file' => '$newname'  "