spaces 2 underscores

In .bash_aliases

alias space2u="rename 's/ /_/g'"

usage

space2u *.mxf