Skip to main content
3 of 7
Count correction

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