Removable Media Extensions in Uppercase

Asked by Scooter

I currently am running Intrepid, but my problem also existed in Gutsy.
When i mount my camera's(Samsung S85) memory card all the images extensions are uppercase (.JPG) but photobucket only recognizes lowercase (.jpg). Is there a setting somewhere to correct this?
I checked my camera for settings, but no luck.
Is there a script to run to rename all the extensions. I would have to do that every time tho wouldn't i?
If anything does anybody know another place i may find an answer?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu gnome-terminal Edit question
Assignee:
No assignee Edit question
Solved by:
Wyatt Smith
Solved:
Last query:
Last reply:
Revision history for this message
Best Wyatt Smith (wyatt-smith) said :
#1

I have the same problem. You do not need a script - Rather just a single command that will change all the files in a directory from .JPG to .jpg.

Please open a terminal and go to proper directory

cd /name/of/picture/folder
rename 's/\.JPG$/\.jpg/' *.JPG

Hope this helps

Revision history for this message
Scooter (2gmoparfan) said :
#2

that worked perfectly, thank you

Revision history for this message
Scooter (2gmoparfan) said :
#3

Thanks Wyatt Smith, that solved my question.