Simple BASH script
I am trying to rename a couple of files containing the character "?" in their names. I want to replace "?" with "-".
I've tried -
for i in `find . -name *\?*' ; do mv "$i" "`echo $i | sed -e s/\?/\-/g`" ; done
Can anyone offer a perl / sed / ANY script to accomplish the task?