ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: Allen B. Taylor on March 09, 2012, 11:30:00 AM

Title: How to tell if -config is supported
Post by: Allen B. Taylor on March 09, 2012, 11:30:00 AM
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
Title: Re: How to tell if -config is supported
Post by: BogdanH on March 09, 2012, 01:49:50 PM
According to ExifTool history (http://www.exiftool.org/ancient_history.html), -config option was first time implemented in v7.98

Bogdan