ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: frereroy on July 03, 2024, 03:20:54 AM

Title: save all files names without a color profile to CSV
Post by: frereroy on July 03, 2024, 03:20:54 AM
I would like exiftool to parse my photo achive recursively and list to a CSV file ONLY those that DO NOT HAVE a color profile present.

exiftool -csv -f -r -icc_profile:ProfileDescription /Users/roy/Desktop/historique > roytest2.csv

The above lists ALL files.
TIA
Title: Re: save all files names without a color profile to CSV
Post by: Phil Harvey on July 03, 2024, 06:44:35 AM
Add -if "not $icc_profile:all" to list only files without an ICC profile.  But your command is only outputting ICC_Profile:ProfileDescription, which of course won't exist for these files.

- Phil