Bob Cox schrieb:
On Thu, Jan 08, 2009 at 12:03:38 +0200, Micha Feigin (michf@post.tau.ac.il) wrote:find . -type f -exec echo `echo '{}' | tr "[:upper:]" "[:lower:]"` \; also fails to convert the file to lower case for some reason (same problem, doesn't change the case, as if it doesn't see the characters).find . -type f | xargs rename y/A-Z/a-z/
If you have file names with special characters in it, e.g. blank characters, better use:
find . -type f -print0| xargs -0 rename y/A-Z/a-z/ or find . -type f | while read FILE;do rename y/A-Z/a-z/ "$FILE";done