ExifTool Forum

ExifTool => Newbies => Topic started by: gmcgath on February 09, 2016, 08:55:08 AM

Title: Using an argument file
Post by: gmcgath on February 09, 2016, 08:55:08 AM
I'm trying a simple test to understand how argument files work. It does what I expect, except that there's an warning message I don't understand. The argument file has the following:

-title="This is the title"
-o
Title Tag.mie

Then I run: exiftool -@ demo.args

This creates the file "Title Tag.mie" with the appropriate title tag, but it also gives the message "Ignored superfluous tag name or invalid option: -o". If I give the same arguments on the command line, even in verbose mode, I don't see a warning. Am I doing something wrong, and if so why does it work anyway? Thanks.
Title: Re: Using an argument file
Post by: Phil Harvey on February 09, 2016, 12:24:06 PM
You have a space after -o that is causing the warning.

There is also a space at the end of the title line.

As well, you should not quote arguments in an argfile.  So your argfile should be:

-title=This is the title
-o
Title Tag.mie


- Phil