edit multiple files with ARGFILE

Started by helsky, October 08, 2019, 11:57:37 AM

Previous topic - Next topic

helsky

Dear forum,

we are trying to change the exif information of multiple files with an ARGFILE.

Unfortunately, all files only get the exif information specified for the last file in the ARGFILE, but we can't figure out what is going wrong. Eventually, it is something with the format of the ARGFILE but we can't figure out. Help would be much appreciated.

We call the exiftool together with the ARGFILE as: exiftool.exe -@ \temp\my.args
the argfile is in the attachement.

Thanks for your help.

StarGeek

You need to use the -execute option when you start a different operation.

You're arg file is set up as a single command and the later commands will override the earlier commands.   For example, at one point you have the line -GPSAltitude=678.654012.  But this is going to be overridden by the following -GPSAltitude=678.649067, which is overridden by -GPSAltitude=678.655539, etc, etc.

As an example of what I think you want is
-TagsFromFile
O:\UAV\_Scripts_\spec_raw_execute\Gamaya_Matlab_Preprocessing\orgFiles2CloneFrom\xNIR25_48_102.513126.tif
-all:all>all:all
P:\temp\Helge_P\temp_p\GPS_uebertragung2\190618_133838_auto_part\output\20190618_133838_S001_auto\Raw\NIR25\NIR25_79_2019-06-18_13-40-50-114591.tif
-overwrite_original
-execute
-TagsFromFile
O:\UAV\_Scripts_\spec_raw_execute\Gamaya_Matlab_Preprocessing\orgFiles2CloneFrom\xNIR25_48_102.513126.tif
-xmp
P:\temp\Helge_P\temp_p\GPS_uebertragung2\190618_133838_auto_part\output\20190618_133838_S001_auto\Raw\NIR25\NIR25_79_2019-06-18_13-40-50-114591.tif
-overwrite_original
-execute
...
"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