I downloaded an ebook, and all the links have lowecase file and directory names, and the actual file and directory names are uppercase. I want to know a short way of changing all the names. Don't konw any scripting.

I downloaded an ebook, and all the links have lowecase file and directory names, and the actual file and directory names are uppercase. I want to know a short way of changing all the names. Don't konw any scripting.

Code:

perl -e 'while( $_ = shift ) { rename( $_, lc( $_ ) }' *

It won't descend subdirectories, but that should give you a start. Replace 'lc' with 'uc' if you want uppercase instead of lowercase._________________For every higher wall, there is a taller ladder