Searched many of the threads here trying to figure out how to use rename function, also checked the man and info pages, to no avail.
I've got a folder with plenty of mp3 tracks. The problem is many of them have multiple spaces in the name and the extension is in CAPS. So I thought I'd start little by replacing all extensions to lower case.
Following the rename example from the man pages, I tried this, but it didn't work
rename .MP3 .mp3 *.MP3
Searching a little the web, I've encountered the following format, which didn't work either
rename 's/\.MP3/\.mp3/g' *.MP3
I've checked my syntax using sed which echoed the right results, but of course, did not rename the files
ls -R | sed 's/\.MP3/\.mp3/g'
What am I missing?
p.s. Running openSUSE 10.2 -> bash 3.1.17(1)