Convert Filenames To Lowercase In Linux

Here's how to convert all filenames in all directories recursively to lowercase in one-hit. No waffle needed.

for i in `find * -depth`; do (mv $i `echo $i | sed 's%[^/][^/]*$%%'``echo $i | sed 's!.*/!!' | tr [:upper:] [:lower:]`); done

(That's all on one line, by the way).