Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When uploading photos from my iPhone to use for eBay they are automatically saved as .JPG (all caps). However eBay only recognizes .jpg. So I have to manually go back in and rename all the files with the lowercase .jpg.

Is there anyway to have them automatically be uploaded in .jpg and not .JPG, its very time consuming. Any help would be greatly appreciated, thanks.

share|improve this question

closed as off topic by Tachyons, Jorge Castro, Anwar Shah, jokerdino, Stephen Myall Oct 5 '12 at 9:25

Questions on Ask Ubuntu are expected to relate to Ubuntu within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

1  
Sorry you are in wrong place, go and ask this question in apple.stackexchange.com –  Tachyons Oct 5 '12 at 4:37
    
mount has quite a few options to force upper/lowercase in filenames, no idea which apply here, but that question seems perfectly legit. –  Grumbel Oct 5 '12 at 5:11
6  
To those close-voters: Have we established that this person is not using Ubuntu? If they are copying from the iPhone to Ubuntu, then on to eBay this is on-topic. –  Tom Brossman Oct 5 '12 at 6:01
add comment

2 Answers 2

You make no mention of Ubuntu, but you posted this in AskUbuntu. I'm going to assume you are moving photos like this iPhone -> Ubuntu -> eBay, since anything else would probably be off-topic.

Shotwell can do this easily, it's in the preferences menu 'Rename imported files to lowercase':

Shotwell prefs

If Shotwell can't import directly from the iPhone, just copy the images to your Desktop and then import them into Shotwell from there.

Another easy option is to use pyrenamer from the software center. It's especially useful if you are doing lots of these retroactively, and you can also rename JPEGs based on embedded metadata like dates & times.

share|improve this answer
1  
+1 for pyrenamer. –  Paddy Landau Oct 9 '12 at 9:13
add comment

I'm not sure about changing how they are uploaded, but if you are uploading them to a folder on ubuntu, you can perform a mass rename to rename everything at once if it makes it easier.

Open up a terminal and type

cd /path/to/photos
rename 's/\.JPG$/.jpg/' *.JPG 

And that will find all files in the directory ending with .JGP and change them to .jpg.

share|improve this answer
    
@Rinzwind rename is smart enough these days to know that a target file might exist. $ touch x.jpg x.JPG; rename 's/\.JPG/.jpg/' x.JPG gives x.JPG not renamed: x.jpg already exists with the rename from Perl 5.10.1. However, some older version apparently didn't handle that situation gracefully. –  Michael Kjörling Oct 5 '12 at 8:22
    
@MichaelKjörling ok :) I said nothing then ;) –  Rinzwind Oct 5 '12 at 8:23
    
Oh @eltommo rename.ul JPG jpg *.JPG is easier to read >:) –  Rinzwind Oct 5 '12 at 8:25
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.