Bob Cox schrieb:
On Thu, Jan 08, 2009 at 12:03:38 +0200, Micha Feigin ([email protected]) 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




--
To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to