Author Topic: Using an argument file  (Read 1100 times)


  • Newbie
  • *
  • Posts: 4
    • Gary McGath
Using an argument file
« 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"
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.

Phil Harvey

  • ExifTool Author
  • Administrator
  • ExifTool Freak
  • *****
  • Posts: 17049
    • ExifTool Home Page
Re: Using an argument file
« Reply #1 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:

Code: [Select]
-title=This is the title
Title Tag.mie

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).