You are here

2 posts / 0 new
Last post
Applescript Questions for Renaming Photos Prior to Import for Lightroom CC (or Apple Photos) #1
twentyfiver's picture
by twentyfiver
May 2, 2018 - 6:54pm

Does this renaming applescript (https://photoapps.expert/tips/2018/1/18/rename-photos-import-lightroom) pull the date/time from the EXIF of the file? Or file creation date? This can pose a problem for organization if it is not pulling from the EXIF of the file.

Second question is how do I remove the original file name from the renaming of the file? I want to just use the date/time format for the file name and no “IMG123”. My files are organized like this, “20180426_094855.jpg”

Thank you in advance

PhotoJoseph's picture
by PhotoJoseph
May 8, 2018 - 7:12pm

Regarding creation vs EXIF date; the script action simply says “creation” date, but I'd like to assume it's the EXIF date. That said, if you're using this as designed, those should be the same, since you'd be copying it off the card which would have an identical file creation to EXIF date. The only reason I can think of that the creation date would be different is if there was a network copy involved, which sometimes messes with file dates. At least that's what I'm thinking. 

To not keep the original file name, that seems a lot harder. I don't know that you can use wildcards in here (i.e. to replace the text “IMG****”). But if you're just trying to rename all your files with simply the date and time as in your example here, I'd say skip the AppleScript and just use NameChanger or Better Rename. In Automator there doesn't seem to be a good way to delete a text string, just replace it, unless I'm missing something. You could undoubtedly get into custom AppleScripting to do this, but that's beyond what I'm familiar with.

@PhotoJoseph
— Have you signed up for the mailing list?

You may login with either your assigned username or your e-mail address.
Passwords are case-sensitive - Forgot your password?