1 2 3 4 5 6 7
#!/bin/bash IFS=" " for i in $(find . -name '*)' -print );do j=$(printf "$i"|sed -e 's# ##' -e 's#(#_#' -e 's#)##') mv $i $j done