Convert Extension from Uppercase to Lowercase
by zetrotrack000 from LinuxQuestions.org on (#4QA6X)
Hi
I have several fonts in ~/.fonts directory. Some of these fonts' extension are in uppercase and some are in lowercase, like:
Code:font1.TTF font2.Ttf Font3.tTF
font4.ttf FONT5.ttF...and I want to convert all these extensions to lower case, like:
Code:font1.ttf font2.ttf Font3.ttf
font4.ttf FONT5.ttf...That is, I don't want to convert the fonts' name, but only want to convert its extension from uppercase to lowercase.
Kindly guide me that how can I do it with single command?
Thanks


I have several fonts in ~/.fonts directory. Some of these fonts' extension are in uppercase and some are in lowercase, like:
Code:font1.TTF font2.Ttf Font3.tTF
font4.ttf FONT5.ttF...and I want to convert all these extensions to lower case, like:
Code:font1.ttf font2.ttf Font3.ttf
font4.ttf FONT5.ttf...That is, I don't want to convert the fonts' name, but only want to convert its extension from uppercase to lowercase.
Kindly guide me that how can I do it with single command?
Thanks