-w or -textOnly %c usage in the ExifTool API?

Started by Mombo, August 13, 2024, 05:34:57 PM

Previous topic - Next topic

Mombo

I'm writing a Perl script using your fabulous ExifTool and I'm having an issue with duplicate file names. How can I get the -w %c option in the Perl library Image::ExifTool API?

Thanks in advance.

Mombo

Phil Harvey

This option is handled entirely by the "exiftool" script, and not the API.  You'll have to check for existence of the output file yourself, and increment a number in the file name until you find one that doesn't exist.

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