Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Where are photo file names?

I've "titled" many, many photos in iPhoto by changing the filename (e.g. "DSC_2254" --> "On vacation in Hawaii"), but there appears to be no option in Photos to show the filename. So none of my "titles" appear. Am I missing something?

iMac (Retina 5K, 27-inch, Late 2014), OS X Yosemite (10.10.3)

Posted on Apr 9, 2015 7:56 AM

Reply
282 replies

May 22, 2017 8:56 AM in response to turingtest2

Version 1.3 works as a Service! Thanks.


-- Photos | Filename to Title | V1.3


-- Images with no title will have the filename used as the title

-- Use values below to exclude or include specfic file extensions from the generated title

-- Existing titles will be modified to add or remove any extension from the title as required


set exclude to ".jpeg.jpg.mov.png.tif.tiff" -- Extensions to exclude from the image titles

set include to ".cr2" -- Extensions to include in the image titles


use scripting additions-- Prevents errors triggered by offset clause

tell application "Photos"

activate

set updated to 0

set info to "Photos | Filename to Title"

set images to (get selection)

if images is {} then

display dialog "Please select items in Photos before calling this script." with title info buttons {"OK"} giving up after 5

else

repeat with image in images

set fullName to filename of image

set title to the name of image

if not (exists (title)) or title = "" then

set title to fullName

set current to ""

else

set current to title

end if

set pos to offset of "." in ((reverse of characters of title) as string)

set prefix to characters 1 thru (-1 - pos) of title as string

if pos > 0 then

set postfix to characters -pos thru -1 of title as string

else

set postfix to ""

end if

set pos to offset of "." in ((reverse of characters of fullName) as string)

set ext to characters -pos thru -1 of fullName as string

if (offset of postfix in exclude) > 0 then

set newTitle to prefix

else

set newTitle to prefix & postfix

end if

if (offset of ext in include) > 0 and not ext = postfix then

set newTitle to newTitle & ext -- Or could test here and add something like " | RAW" for raw formats

end if

if not current = newTitle then

set the name of image to newTitle

set updated to updated + 1

end if

end repeat

if updated = 1 then

set message to " item was updated."

else

set message to " items were updated."

end if

if updated = 0 then

set message to "No" & message

else

set message to (updated as string) & message

end if

display dialog message with title info buttons {"OK"}

end if

end tell

May 23, 2017 11:05 AM in response to Old Toad

That is exactly what I did but Mac OX won't allow it to unzip. The zip file does the animation of a file opening or unzipping, but nothing results.

I searched the filename with Spotlight and it shows the file as being in my applications folder, however when I go to applications it is not visible. I have checked my utilities folder just in case.

Thanks

Jun 28, 2017 3:10 PM in response to thedatadude

Use keywords, the keyword manager, info and intelligent albums to solve your problems !!!

I have more than a thousand key words and I can find everything very easily. You can even filter photos intelligently with a little practise and good thinking, so that you can have the albums completely presented under "all photos" ! Good luck ! (Any photo can have a multitude of keywords.)

Jul 29, 2017 12:14 AM in response to thedatadude

Time Machine is not a clone. Time machine is a limited archive. It will archive as much information as it can based on capacity.


This is an important distinction from a clone, because Macs without internet restore capability turned on may not be able to recover from a Time Machine backup without their original installer discs. There is a special firmware for the internet restore on Macs that predate Lion's release.


<Link Edited by Host>

Dec 26, 2017 8:54 PM in response to thedatadude

Apple's method of naming files has been lousy from the start - you get a photo from something digital and it is labelled as something like D7K_2242 as noted by thedatadude elsewhere in this thread. My first mistake when I uploaded to iphoto my photos was to assume that if I changed the title, it changed the photo name. Reseting my camera by deleting all the photos after upload, a different D7K-2242 would eventually come up, be titled as something else, but when I eventually burnt a DVD of photos for a friend, quite afew went AWOL, because the same file name overwrote the previous one!

Having learnt my lesson, every file is renamed before it goes into iphoto/photo, to something like 20170524 San Francisco A 08 - YearMonthDate (Location or event) (letter if I have lots of photos on that day) number within the sequence. If I want more data attached to the photo, I use faces, keywords, and very occasionally a description. I used to be able to see those photo names as the default title in iPhoto

Transferring from iPhoto to photo, all the names are gone, although the titles are still correct. But you can only see them if you open info, as it displays non-existent titles instead of defaulting a blank title to the file name.

For new uploads, I am wasting my time when I upload and doing faces by highlighting the file name (minus the ".jpg") copying (Command-C) and pasting into title (Command-v). Far from ideal. If someone knows how to do this with an applescript or similar, I'd be greatful, for those who have different titles, you'll need another solution.

Jan 5, 2018 3:03 AM in response to thedatadude

As more folks are using their I phones - even pros- for images that need a file name for exporting, so you do not duplicate when moving to Mac book pro for example, it is really bad design on Apple's part NOT to have a file name under an image! I am using High Sierra, and I photo is a thing of the past. Get with the program apple.. This is absurd !

Where are photo file names?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.