The following command line changes filenames recursively from lower case to upper case and vice versa, just change the position of lower and upper:

find . -type f|while read f; do mv $f `echo $f |tr “[:lower:]” “[:upper:]“`; done

WARNING: Allways be careful when you use a shell command, I don’t take any responsibility for accidents or data loss that result from using the shown example commands. If you want to know more about the used commands, take a look in the associated manpages.

PS: Thanks to Berta from command-line-fu

Verwandte Artikel:

  1. BASH SCRIPTING 101 – Convert a man page to pdf and read it in Preview on a Mac
  2. How to clone a Truecrypt encrypted harddisk with dd