I have to support the use of older versions of exiftool in my application, which writes several custom XMP tags whose format is defined in a configuration file. If the application runs on a platform that has an old version of exiftool that doesn't support the -config option (e.g., Ubuntu 10.04 has exiftool version 7.89), I'd like to be able to check for this condition. It appears that old versions of exiftool think that -config is just another tag spec. In my case, the config file is in a write-protected directory and exiftool, thinking it's a file to work on, reports it can't write to /write-prot-dir/.../config_file.cfg_exiftool_tmp.
I could use the -ver option to check the program version. What version was -config supported in exiftool?
Many thanks,
Allen
According to ExifTool history (http://www.exiftool.org/ancient_history.html), -config option was first time implemented in v7.98
Bogdan