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.
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