Rename corrupt file like FILE0000.CHK and FILE0001.CHK to the right extention

Last week a friend of me what in a huge stress because he couldn't read the music and photos anymore from his USB-stick / pen-drive.

First make a copy of all file to you localmachine (you never know). Than place this script in the same directory as the file. chmod and run.
That's all!

How To Rename filenames


This is about rename (mp3) files with the command line in Linux to a nice format.

Change the first character of each word tot uppercase
Suppose your filename is something like:

04 - cymballistic - blues for sarah.mp3

and you want to change that to:

04 - Cymballistic - Blues For Sarah.mp3

Use this command.