1 2 3 4 5 6 7 | find . -type f -name "* *" -print | while read name; do na=$(echo $name | tr ' ' '_') if [[ $name != $na ]]; then mv "$name" $na fi done |
1 2 3 4 5 6 7 | find . -type f -name "* *" -print | while read name; do na=$(echo $name | tr ' ' '_') if [[ $name != $na ]]; then mv "$name" $na fi done |