Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Ambrosia7177

macrumors 68020
Original poster
Feb 6, 2016
2,079
397
Is there a way to make my iPhone 6S Plus take photos and save them with a *lowercase* file extension (e.g. .jpg).

I am building a website and wasted nearly two hours tonight when I finally figured out that Linux makes a big deal if your files are named .JPG versus .jpg

I want everything in lowercase and don't want to have to spend time manually renaming my tens of thousands of photos.

Please tell me there is a solution for this!! :rolleyes:
 
For new captures, not that I know of. But you can batch rename the extension on all images in one go.
[automerge]1578364253[/automerge]
You can also set up folder actions to automatically do it to any image in a folder, so the moment you pull the photos from device into its end location, the folder action is run on the item
 
For new captures, not that I know of. But you can batch rename the extension on all images in one go.
[automerge]1578364253[/automerge]
You can also set up folder actions to automatically do it to any image in a folder, so the moment you pull the photos from device into its end location, the folder action is run on the item

So how would I do that?

And how risky is it?

I am on macOS Sierra.
 
So how would I do that?

And how risky is it?

I am on macOS Sierra.

I wouldn't say it's risky at all.

For batch renaming, just mark it all in Finder (cmd+a to mark everything in folder) and hit enter, or right click and select "rename(#) files".

To set up a Folder action, just use the Automator app. Think you might also be able to right click folder to create folder action, but only tried with Automator directly
 
  • Like
Reactions: Ambrosia7177
I wouldn't say it's risky at all.

For batch renaming, just mark it all in Finder (cmd+a to mark everything in folder) and hit enter, or right click and select "rename(#) files".

To set up a Folder action, just use the Automator app. Think you might also be able to right click folder to create folder action, but only tried with Automator directly

Wow! That is an awesome feature!!!

Thank you!!!

How long has that been in OS-X or macOS?
 
Wow! That is an awesome feature!!!

Thank you!!!

How long has that been in OS-X or macOS?

Uhmmm. 10.2? I don't know. I know for sure it's in Tiger, but before that I don't know. My oldest OS X is Tiger. I have a Mac OS 9 system too but yeah.
It's good though :). Mac OS has many nice power features
 
Uhmmm. 10.2? I don't know. I know for sure it's in Tiger, but before that I don't know. My oldest OS X is Tiger. I have a Mac OS 9 system too but yeah.
It's good though :). Mac OS has many nice power features

Haven't had a chance to test things, but should I have any concerns that using that GUI feature would in any way mess up the original files? For example changing the created on, updated on, photo meta data, etc?

Also, could it mess anything up with the files so that it would impact me displaying things on my webpage which uses a very picky Linux OS?!

If it leave the original files completely unsctahed, then I think I'm going to go through all of the pictures on my Mac and rename them.

I hate how my iPhone and digital camera use UPPERCASE LETTERS.

I also think camera copanies need to realize that it is *easy* to take more than 10,000 photos in a year and thus create a real filing issue when your camera/phone starts back over at IMG_0001.JPG.

I am thinking it might be good to use macOS's nifty renaming too to append a year on the from of all of my photos (e.g. "2019_IMG_9741.JPG") that that I am guaranteed uniqueness, and so I can more easily figure out when pictures were taken should the original created on data get messed up - which has happened a lot over the years on my computers!!
 
Haven't had a chance to test things, but should I have any concerns that using that GUI feature would in any way mess up the original files? For example changing the created on, updated on, photo meta data, etc?

Also, could it mess anything up with the files so that it would impact me displaying things on my webpage which uses a very picky Linux OS?!

I mean, it won't affect the file itself for certain. It's essentially just running mv (old name) (new name) on all the files. So I guess that would update the timestamp for latest touch the same way mv or touch would do. Otherwise no impact.

I am thinking it might be good to use macOS's nifty renaming too to append a year on the from of all of my photos (e.g. "2019_IMG_9741.JPG") that that I am guaranteed uniqueness, and so I can more easily figure out when pictures were taken should the original created on data get messed up - which has happened a lot over the years on my computers!!

Fortunately, the naming tools include automatic date formatting for the file names. At least the Automator approach does. I forgot if Finder's batch renaming does, but it probably does
 
I mean, it won't affect the file itself for certain. It's essentially just running mv (old name) (new name) on all the files. So I guess that would update the timestamp for latest touch the same way mv or touch would do. Otherwise no impact.

It doesn't appear to mess with "Date Modified". Not sure if the "touch" is a different date?
 
It doesn't appear to mess with "Date Modified". Not sure if the "touch" is a different date?

Well, maybe mv doesn't either then. Never really checked. But touch definitely changes last modified, since the whole idea behind touch is.... Well, to do that. The command's description is:
touch -- change file access and modification times

But anyways, I guess metadata change doesn't count as last modified for file.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.