Dmeet

Q: Add keywords/location/description to a file w/o Photos app?

Idea is I add all that info to a file, so that later it will be easy for me to find the exact file I want. Problem is if I do this in Photos, I can't browse files using finder (which I intend to do), or, if I export modified images they gain some weight that's not related to having new info. File size isn't really a problem, it's the "it's not the exact same that I imported before" that drives me crazy.

 

So, I'm looking for ways to add all the extra info that Photos can add, w/o actually using said app. If there are no third-party options I don't mind using terminal or any other manual way to modify info.

MacBook Air, macOS Sierra (10.12)

Posted on Sep 26, 2016 9:22 PM

Close

Q: Add keywords/location/description to a file w/o Photos app?

  • All replies
  • Helpful answers

  • by Barney-15E,

    Barney-15E Barney-15E Sep 27, 2016 4:54 AM in response to Dmeet
    Level 9 (50,401 points)
    Mac OS X
    Sep 27, 2016 4:54 AM in response to Dmeet

    If you want to manage your photos in the Finder, you could add Tags to categorize them: macOS Sierra: Use tags to organize files

    However, that would not "embed" the tags in the File. The only way to do that would be to edit the EXIF data, but I'm not sure there are fields for "keywords" in EXIF data. It also wouldn't be simple to search the EXIF data.

    or, if I export modified images they gain some weight that's not related to having new info. File size isn't really a problem, it's the "it's not the exact same that I imported before" that drives me crazy.

    Photos (and iPhoto) do not modify the original files. They create a copy and allow you to edit that copy so the orignal stays intact. You can "Export the Unmodified Original" if you wish.

    The Editing pane has a Revert to Original button.

     

    If you wish to expunge the original image after modifications, you would have to duplicate a modified image, then delete the "original."

  • by léonie,Helpful

    léonie léonie Sep 28, 2016 12:04 AM in response to Dmeet
    Level 10 (107,942 points)
    iCloud
    Sep 28, 2016 12:04 AM in response to Dmeet

    With Aperture you could write the descriptions and keywords directly into the original image files.

    Photos for Mac does not support this.

    I am currently using Jetphoto Studio to write GPS, titles, and keywords into the original image files, before I import them to Photos for Mac.

    If you like the Terminal, you could use ExifTool to set the EXIF tags of your photos. It is very versatile, but can only be used from the Terminal. I have not yet tried the available GUIs.

    See:  http://www.sno.phy.queensu.ca/~phil/exiftool/

     

    Photos for Mac does not write into the original files, but you can save the metadata as a sidecar file. If you export your originals with option "Export IPTC as XMP" enabled, you will find an XMP file for each photo with the GPS, keywords, titles, descriptions.  Many image editors can restore the metadata tags from these sidecar files, when the import an image file and the sidecar is in the same folder-

  • by VikingOSX,

    VikingOSX VikingOSX Sep 27, 2016 7:41 AM in response to Dmeet
    Level 7 (21,108 points)
    Mac OS X
    Sep 27, 2016 7:41 AM in response to Dmeet

    GraphicConverter 10 (it is a functional trial) allows you to browse a folder of images in thumbnail view. With an image selected in Browse mode, there will be a Keywords menu item under the Window menu. When you select this, a small panel appears with some sample keywords, with the ability to add, remove, select, and sort keywords. When you do this, they are automatically written into the EXIF data as a Keywords category. You do not need to save the image, and can quit from GraphicConverter.

     

    A Finder Get Info window will show these keywords for the image. In the Terminal, the mdls and mdfind commands can search for these keywords: (mdfind -onlyin ~ 'kMDItemKeywords == "*Landscape*"cdw' *.jpg) will find all jpegs containing the case-insensitive (the c part of cdw) keyword “Landscape.” The creator field of the image will be changed to GraphicConverter — though that may not be desirable should it replace the original creator (e.g. Photoshop, etc.).

     

    Why not try this on a small folder of duplicate images as  a test?

  • by Dmeet,

    Dmeet Dmeet Sep 28, 2016 12:07 AM in response to léonie
    Level 1 (10 points)
    Mac OS X
    Sep 28, 2016 12:07 AM in response to léonie

    Thanks for suggestion. I tried Aperture, but ended up using Photo Mechanic app. Do you know if there is a way to add clickable URL to a file that would appear in macOS' "Get Info" window?

  • by léonie,Helpful

    léonie léonie Sep 28, 2016 1:08 AM in response to Dmeet
    Level 10 (107,942 points)
    iCloud
    Sep 28, 2016 1:08 AM in response to Dmeet

    When you add a URL to the title or description in Photos and export the photo with "File > Export", the URL will show in the Info panel for the exported file in "More Info". You can copy and paste it, but it is not clickable.