msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

24 Oct 2008 Rename file name suffix to uppercase or lowercase

Posted by

This is a little oneliner to rename a files suffix from/to uppercase/lowercase.

Rename a jpg suffix to JPG in the current folder

# find -name "*.jpg" | while read a; do mv "$a" "${a%%.jpg}.JPG" ; done

The work JPG can be replaced by any other word :)

Tags: , , ,

Comments are closed.