Args file doesn't support -api setting

Started by mnaoumov, April 28, 2021, 10:55:28 AM

Previous topic - Next topic

mnaoumov

I found that if you have args file


args.txt

video.mp4
-Subject=MySubject
-api LargeFileSupport=1
-overwrite_original_in_place
-m
-execute



$ exiftool -@ args.txt

Warning: Tag 'api' is not defined
Error: End of processing at large atom (LargeFileSupport not enabled) - video.mp4
    0 image files updated
    1 files weren't updated due to errors


But documentation says

QuoteArguments in ARGFILE behave exactly the same as if they were entered at the location of the -@ option on the command line, with the exception that the -config and -common_args options may not be used in an ARGFILE.

It doesn't mention -api settings

StarGeek

From the docs on the -@ (Argfile) option (emphasis mine)
    The file contains one argument per line (NOT one option per line -- some options require additional arguments, and all arguments must be placed on separate lines).

Change it to
-api
LargeFileSupport=1
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

mnaoumov