how to write space delimited values to one tag using -@ ?

Started by Alex Matiash, August 29, 2018, 01:00:09 PM

Previous topic - Next topic

Alex Matiash

Hi all.
I'm stuck with some problem I can't understand:
exiftool -overwrite_original -ColorMatrix1="3.1338561 -1.6168667 -0.4906146 -0.9787684  1.9161415  0.0334540 0.0719453 -0.2289914 1.4052427" file

works perfectly, but

exiftool.exe -@ replace_color_profile_in_DNG.txt file

says:
Warning: Not a floating point number for IFD0:ColorMatrix1
    0 image files updated
    1 image files unchanged


Content of replace_color_profile_in_DNG.txt is the same as in full command line:
-overwrite_original
-ColorMatrix1="3.1338561 -1.6168667 -0.4906146 -0.9787684  1.9161415  0.0334540 0.0719453 -0.2289914 1.4052427"


How can I set value with spaces to one tag in arguments file?
Thank you in advance.

StarGeek

From the docs on the -@ option:
"Normal shell processing of arguments is not performed, which among other things means that arguments should not be quoted and spaces are treated as any other character."

tl;dr Remove the quotes
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Alex Matiash

Quote from: StarGeek on August 29, 2018, 02:20:24 PM
From the docs on the -@ option:
"Normal shell processing of arguments is not performed, which among other things means that arguments should not be quoted and spaces are treated as any other character."

tl;dr Remove the quotes
Oh, thank you very much!