/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
for f in *; do file=$(echo $f | tr A-Z a-z | tr ' ' _) [ ! -f $file ] && mv "$f" $file done