Photography Asked by titusn on June 30, 2021
Is there a way, possibly using exiftool, to quickly search an entire directory or disk of images for a certain exif/XMP/IPTC tag and maybe even give a summary of what the collection contains (percentage of empty tags, some example values, that sort of info)?
The reason I am asking is because I am working on moving very large collections of images between systems and I have to transform the metadata. So I want to be able to analyse stuff quickly to discuss it with the client. Lightroom, Aperture and co. are nice, but not installed on the systems we are working with and importing would be much too slow anyway.
If you are on Linux or willing to boot a Linux LiveDVD, you can use simple commands for that, something in the line of:
find -iname "*.jpg" -print0 | xargs -0 exiftool -a | grep "Image Width"
You can try these actually as well, just to see what is going on:
find -iname "*.jpg"
find -iname "*.jpg" -print0 | xargs -0 exiftool
You can get more info with
Now, instead of "grep", you can save data to .csv for each image, and do a few lines of post-processing. Alternatively, if you create a simple postprocess.sh script, you can use:
find -iname "*.jpg" -print0 | xargs -0 postprocess.sh
and in postprocess.sh use exiftool $1 to extract the data and potentially create an inventory of tags.
Correct answer by TFuto on June 30, 2021
Recent versions of Windows (Vista, 7, or 8) can search some EXIF/XMP/IPTC tags as standard. Just use the usual search tool.
ie open a folder, then type something in the search box in the top corner. It will show any image that matches that text in the title or keywords etc. By default it will also search any subfolders. Note you can do more advanced searches, with AND, NOT, OR etc.
You can also use filters within a a folder. ie open a folder, and set it to 'Details' view. Then you can add columns for what EXIF data or tags you are interested in. If you lcik on one of these column headings, it gives a drop down list. So you can select a tag to filter on that.
Answered by vclaw on June 30, 2021
Geosetter is a very capable editor for photo metadata that is built on on top of Exiftool and can do this with a GUI. You can display your photos folder by folder (default) but you can also go to the root and search through all subfolder. I haven't used the search much but it seems to work well. Here's a screenshot of the search dialog:
(Geosetter is not only focused on geotagging, supports EXIF, IPTC and XMP and is generally awesom for batch manipulation of photo metadata. Here are some screenshots: https://geosetter.de/en/screenshots-en/ )
Answered by cupholder on June 30, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP