exiftool VS osxphotos

Compare exiftool vs osxphotos and see what are their differences.

osxphotos

Python app to work with pictures and associated metadata from Apple Photos on macOS. Also includes a package to provide programmatic access to the Photos library, pictures, and metadata. (by RhetTbull)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
exiftool osxphotos
249 96
2,847 1,690
5.5% -
6.8 9.4
8 days ago 4 days ago
Perl Python
GNU General Public License v3.0 only MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

exiftool

Posts with mentions or reviews of exiftool. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.
  • Ask HN: Best to store, index and categorize audio recordings
    1 project | news.ycombinator.com | 2 Mar 2024
    If you're doing a pipelined bulk processing pass to add metadata tags after extracting them via Speech to text, or have delimited notes in a text file, or ... etc.

    You might find ExifTool useful.

    It's pure commandline (with a few third party GUI's IIRC) multiplatform and purpose built to display, edit, add media tags to all sorts of AV files.

    https://exiftool.org/

  • Cleaning up my 200GB iCloud with some JavaScript
    8 projects | news.ycombinator.com | 5 Jan 2024
    > Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.

    The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:

    `osxphotos export /path/to/export --has-raw --skip-raw --exiftool`

    This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`

    Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)

  • Is there a way to remove metadata from an image file?
    4 projects | /r/csharp | 7 Dec 2023
    Check out exiftool.org
  • EXIF Data from Cloud Stock Photo Used for Production of Satellite Video
    1 project | /r/AirlinerAbduction2014 | 7 Dec 2023
  • Locationator: Access Apple's Reverse Geocoding service from the command line, Services menu
    2 projects | /r/macapps | 30 Oct 2023
    Locationator also comes with an optional CLI that can be used to perform reverse geocoding on images from the command line or perform the reverse geocoding and then write the location data to the file's XMP metadata using exiftool. It also comes with two services for doing the same from the Finder or other apps using the Services menu.
  • Modifying "Media Creation Date" metadata in .m4v files?
    1 project | /r/pythontips | 28 Oct 2023
    Edit: Nevermind, I got it. I used PyExifTool and installed exiftool from exiftool.org.
  • Exploring EXIF
    5 projects | news.ycombinator.com | 6 Sep 2023
  • Canon PowerShot S95
    1 project | /r/AskPhotography | 9 Aug 2023
    May not work as not all camera store the serial number in the EXIF, but if you've got exiftool installed you can try running:
  • JPEG XL: How It Started, How It’s Going
    5 projects | news.ycombinator.com | 20 Jul 2023
    I think TIFF has some unique features that makes it more prone to certain security issues[1] compared to other formats, such as storing absolute file offsets instead of relative offsets. So I am not sure TIFF is a good container format, but many camera raws are TIFF-based for some reason.[2]

    [1] https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=libtiff

    [2] https://exiftool.org/#supported (search for "TIFF-based")

  • How to keep file creation dates intact when importing to DSM?
    1 project | /r/synology | 10 Jul 2023
    I have struggled with this in the past, and I found the utility called exiftool quite useful.

osxphotos

Posts with mentions or reviews of osxphotos. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-05.
  • Cleaning up my 200GB iCloud with some JavaScript
    8 projects | news.ycombinator.com | 5 Jan 2024
    > Any method that I've found to clean them up (exporting the originals, deleting them from the library, and then re-importing the JPEGs only seems easiest) will lose all of the years of metadata that I've built up in the library.

    The open source tool osxphotos (https://github.com/RhetTbull/osxphotos) can help with this. You can export the JPEG images while preserving metadata using the thrid-party exiftool utility:

    `osxphotos export /path/to/export --has-raw --skip-raw --exiftool`

    This exports all images that have a raw pair but skips the raw component then uses exiftool (https://exiftool.org/) to write the metadata (keywords, etc.) to the exported JPEG files. You can then re-import these into photos either by dragging them or by running `osxphotos import /path/to/export/*`

    Both the export and import commands have many other options for controlling export directory, etc. `osxphotos help export` or `osxphotos docs` to open docs in browser. (Disclaimer: I'm the author of osxphotos)

  • pipx install osxphotos fails
    1 project | /r/osxphotos | 10 Dec 2023
    See the issue tracker if you want to follow along. Hopefully this is an easy fix and I can push a patch today.
  • Delete empty albums
    1 project | /r/osxphotos | 7 Dec 2023
    In response to a question on the osxphotos GitHub Discussions page, I wrote a quick script to do prune empty albums and folders from Photos that can be run with osxphotos (version 0.65.0 and later). You can run the script directly from GitHub without downloading it first via:
  • Library backup
    1 project | /r/ApplePhotos | 5 Dec 2023
    You could try opening the library with PowerPhotos, a commercial app that can manage multiple Photos libraries, to see if it can read it. You could also try my free open source command line tool, osxphotos. Install it then run this command in the Terminal: osxphotos info --library /path/to/the/library This should print out a list of information about the library: number of photos, number of albums, keywords in the library, etc. If that works, then osxphotos can read the library and can likely export the photos for you so you could re-import into a new library.
  • Exploring EXIF
    5 projects | news.ycombinator.com | 6 Sep 2023
    I'm the author of the osxphotos[0] tool mentioned in the article. For photos in an Apple Photos library, osxphotos gives you access to a rich set of metadata beyond what's in the actual EXIF/IPTC/XMP of the image. Apple performs object classification and other AI techniques on your images but generally doesn't expose this to the user. For example, photos are categorized as to object in them (dog, cat, breed of dog, etc.), rich reverse geolocation info (neighborhood, landmarks, etc.) and an interesting set of scores such as "overall aesthetic", "pleasant camera tilt", "harmonious colors", etc. These can be queried using osxphotos, either from the command line, or in your own python code. (Ref API docs[1])

    For example, to find your "best" photos based on overall aesthetic score and add them to the album "Best Photos" you could run:

    osxphotos query --query-eval "photo.score.overall > 0.8" --add-to-album "Best Photos"

    To find good photos with trees in them you could try something like:

    osxphotos query --query-eval "photo.score.overall > 0.5" --label Tree --add-to-album "Good Tree Photos"

    There's quite a bit of other interesting data in Photos that you can explore with osxphotos. Run `osxphotos inspect` and it will show you all the metadata for whichever photo is currently selected in the Photos app.

    [0] https://github.com/RhetTbull/osxphotos

  • Third Party Apps that work with Apple Photos Library
    1 project | /r/ApplePhotos | 27 Aug 2023
    osxphotos is my own tool for power users to interact with Photos from the command line: export, batch edit, sync metadata, import, etc.
  • Alpha support for macOS Sonoma
    1 project | /r/osxphotos | 19 Jul 2023
    osxphotos v0.60.8 adds initial alpha support for macOS Sonoma (macOS 14.0.0 / Photos 9.0). Everything seems to be working but if you are beta testing Sonoma and use osxphotos I'd welcome any feedback you have!
  • How can I export my iCloud photo library to Amazon Photos on Mac OS?
    1 project | /r/DataHoarder | 5 Jun 2023
  • Shared Library: Albums Aren’t Shared
    1 project | /r/ApplePhotos | 16 May 2023
    I'm the author of the free/open source tool osxphotos which provides several utilities fo working with Photos and exporting your photos. You can use the batch-edit feature to automatically add the album name as a keyword and I believe keywords are shared across users. (I don't use shared libraries so can't confirm this). I am working on a feature to then automatically re-create the albums from the keywords on the target library. For now the keywords is a partial work around.
  • any program for MACOS or for Ubuntu that is free that allows you to edit the meta tags of photos en masse. Thanks!
    2 projects | /r/MacOS | 8 May 2023
    If you want to edit batch metadata of photos that are in the Apple Photos app on a Mac, I'm the author of a free tool, osxphotos that includes a batch-edit command that will edit the metadata in the Photos library.

What are some alternatives?

When comparing exiftool and osxphotos you can also consider the following projects:

exiv2 - Image metadata library and tools

icloud-drive-docker - Dockerized iCloud Client - make a local copy of your iCloud documents and photos, and keep it automatically up-to-date.

jExifToolGUI - jExifToolGUI is a multi-platform java/Swing graphical frontend for the excellent command-line ExifTool application by Phil Harvey

icloud_photos_downloader - A command-line tool to download photos from iCloud

exifcleaner - Cross-platform desktop GUI app to clean image metadata

photos_time_warp - Batch adjust the date, time, or timezone of photos in Apple Photos from the Mac command line.

HomeBrew - 🍺 The missing package manager for macOS (or Linux)

ipyflow - A reactive Python kernel for Jupyter notebooks.

FFmpeg - Mirror of https://git.ffmpeg.org/ffmpeg.git

Home Assistant - :house_with_garden: Open source home automation that puts local control and privacy first.

DiffusionToolkit - Metadata-indexer and Viewer for AI-generated images

donutdns - Block ads, trackers, and malicious sites with donutdns - simple alternative to pihole. Run as a docker container, standalone executable or core DNS plugin. Supply custom domain block/allow lists in addition to builtin lists maintained by the ad-blocking community.