![mac command line list pictures based on exif data mac command line list pictures based on exif data](http://www.lbackup.org/_media/developer/xcode_command_line_tools_installing_in_progress.png)
- #MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA HOW TO#
- #MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA PRO#
- #MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA CODE#
- #MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA DOWNLOAD#
- #MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA WINDOWS#
The man-page says -onlyin limits the scope of the search to the specified directory. KMDItemAcquisitionModel = "PerfectionV700"įind all photos shot on iPhone 6: mdfind "kMDItemAcquisitionModel='*iPhone*6*'" KMDItemAcquisitionModel = "PerfectionV700 " KMDItemAcquisitionModel = "Perfection4990" KMDItemAcquisitionModel = "Perfection 4990" KMDItemAcquisitionModel = "EPSON Perfection 4990" KMDItemAcquisitionModel = "EOS-1Ds Mark III" KMDItemAcquisitionModel = "Canon EOS-1Ds Mark III" KMDItemAcquisitionModel = "Canon EOS-1Ds Mark II" KMDItemAcquisitionModel = "Canon EOS-1DS" KMDItemAcquisitionModel = "Canon EOS-1D X" KMDItemAcquisitionModel = "Canon EOS-1D Mark IV" KMDItemAcquisitionModel = "Canon EOS-1D Mark II N" KMDItemAcquisitionModel = "Canon EOS 7D Mark II" KMDItemAcquisitionModel = "Canon EOS 5D Mark III" KMDItemAcquisitionModel = "BlackBerry 9000" KMDItemAcquisitionModel = "BlackBerry 8900"
#MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA PRO#
KMDItemAcquisitionModel = "645 PRO Mk III for iOS" List all cameras and scanners that I have used to make pictures on my Mac: mdfind -0 kind:image | xargs -0 mdls -n kMDItemAcquisitionModel | sort -u
![mac command line list pictures based on exif data mac command line list pictures based on exif data](https://techwiser.com/wp-content/uploads/2020/06/Metadata.jpg)
#MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA HOW TO#
That shows how to do compound searches with & (AND) and || (OR), how to group conditions within parentheses (conditionA || conditionB) and also how to do case-insensitive search (by appending c after the search string).Įxamples: maybe more for my own reference -) "(kMDItemPixelHeight>1500 || kMDItemPixelWidth=1400)& kMDItemKind='*image*' & kMDItemProfileName='srgb*'c" KMDItemKind = "Portable Network Graphics image"Īnd here is a query that matches and lists that file: mdfind -onlyin. KMDItemCreator = "Adobe Photoshop CC 2017 (Macintosh)" KMDItemContentModificationDate = 14:15:03 +0000 Well get cracking on the lens naming s almost have had a chance to do some experiments as to how mdfind really works, as opposed to how it is documented - the two differ.įirst, let's look at the Spotlight data for a file called tardis.png that was hanging around on my Mac. That's what I do is copy and paste my lens data to the specific field then have the tool batch write to the appropriate lens info field.
![mac command line list pictures based on exif data mac command line list pictures based on exif data](https://petapixel.com/assets/uploads/2012/05/grapha_mini.jpg)
(It just occurred to me that a lens naming script is within my skill set and might be something I could do on one of those dark lonely winter nights.) In the mean time, a workaround option would be to maintain a custom script using ExifTool to write names to the standard EXIF LensInfo tag based on the passed ID. For sure, a lookup table similar to that maintained by ExifTool could be included in the firmware, but that would likely be Pentax-specific and limited to current product in the same manner as the manufacturer-supplied lens profiles provided for Adobe products.Īs a user of vintage lenses, I do feel your pain, but think that the best we might expect would be the ability to support user "naming" of a limited number of AF lenses as a custom setting.
#MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA CODE#
That would be cool except that the camera only "knows" the numeric code (nnn nnn), not the "friendly name". I found GUI tool, and now I clearly see that info What I really would like to see is Pentax change the firmware to write lens data to the basic EXIF data. I really wish the guy who developed it would continue but I understand that circumstances do change. I have the latest version and have been using other versions for several years. The reason why I did not mention it is that the steps to actually acquire ExifToolGUI are not straightforward. Its "LensInfo from makernotes." functionality is incredibly useful. I agree and am a fan and frequent user of ExifToolGUI.
#MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA WINDOWS#
Note that the GUI requires that the ExifTool Windows executable also be installed to work.
#MAC COMMAND LINE LIST PICTURES BASED ON EXIF DATA DOWNLOAD#
Location of ExifToolGUI download link: Latest ExiftoolGUI version 5.16 That being said, I have found that it works well with current versions of ExifTool. As noted on another pinned post of that forum, ExifTool GUI is no longer under active development (is unsupported). For that, you have to go to a "pinned" post on the ExifToolGUI subforum of the ExifTool forum. The download link at the page linked above is not real obvious and does not directly provide access to the download. I find that the GUI version is much easier top deal with for the average person, command line protocol is a real pain and unless you're into that stuff a clickable format is much easier when you just want to peruse the EXIF data and add a lens that for some reason the camera failed to report.I agree and am a fan and frequent user of ExifToolGUI.