PDA

View Full Version : File textures _ Uppercase to lower case


thehive
06-19-2009, 03:24 PM
hey guys , i was lookin around to see what options there are for converting file texture names from upper case to lower case. any help would be great.



Thanks

Wick3dParticle
06-19-2009, 04:01 PM
Hey Eric.
Select all of the texture files you want to rename in the hypershade and run this script:

string $mySel[] = `ls -sl`;
string $newName;
for ($each in $mySel){
$newName = `tolower $each`;
rename $each $newName;
}

~Ilan

CGTalk Moderation
06-19-2009, 04:01 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.