Change file name case to lower in linux
Posted on | June 14, 2007 |
$for i in *; do mv $i `echo $i | tr [:upper:] [:lower:]`; done
I am working on a project using MainSoft’s MainWin. It converts and compiles vc6 projects in linux. MainWin provides a tool calls ‘mwgenmake’ which creates a makefile from the project file. Sometimes, it is required to have all the filename in lower case.
The code above is collected.
Comments
2 Responses to “Change file name case to lower in linux”
Leave a Reply
April 6th, 2008 @ 11:31 am
The best thing I can do for this wonderful source is to say that I’m a biggest fan of this website
April 9th, 2008 @ 2:42 am
Sounds perfect to me. I have read this post with a great pleasure. You should write much more often.