save all files names without a color profile to CSV

Started by frereroy, July 03, 2024, 03:20:54 AM

Previous topic - Next topic

frereroy

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

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).