bash rename all files lower-case

Posted at

for f in *; do mv "$f" "'echo $f | tr "[:upper:]" "[:lower:]"'"; done