Bash + basic Linux commands 200
for file in $(ls -R)
do export newfile=$(echo "$file"|sed s/' '/'_'/g)
mv --reply=no "$file" "$newfile" || mv --reply=no "$file" $(echo "$newfile" echo $file|sha256sum)
done
Bash + basic Linux commands 200
for file in $(ls -R)
do export newfile=$(echo "$file"|sed s/' '/'_'/g)
mv --reply=no "$file" "$newfile" || mv --reply=no "$file" $(echo "$newfile" echo $file|sha256sum)
done