用 tr :
find . -type f -name "* *" -print |
while read name; do
na=$(echo $name | tr ' ' '_')
 
if [[ $name != $na ]]; then
mv "$name" $na
fi
done

在路上
534 声望26 粉丝