mdls error on macOS

Started by pejax, January 21, 2025, 09:47:15 AM

Previous topic - Next topic

pejax

When I run exiftool with no iptc metadata under macOS 15.2, I get an mdls error - even though the utility is installed:
exiftool -iptc:all <image.jpg>
Warning: Error running "mdls" to extract MDItem tags
Is there an option for exiftool to not run xattr/mdls on media files completely ignoring macOS tags?

Thanks

Phil Harvey

I don't understand why ExifTool is running mdls with the command you gave.  Do you have a config file that uses some of the optional API settings?

- 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 ($).

pejax

I just noticed that the mdls error only occurs when I copy the Exiftool config file (without modifications) to the home directory (as .Exiftool_config). I checked the contents but could not find any hint what might cause exiftool to invoke mdls.

Phil Harvey

...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 ($).

pejax