|
Hi Phil, Sorry, somewhat I get it, but I am not quite happy with what I did.
I believe this could be done more elegant.
I can redirect 'datetimeoriginal' from one X3F to another TIF allright.
exiftool -Tagsfromfile ../img110501.x3f "-datetimeoriginal" img110501.tif
1 image files updated
But I do not quite succedd with the same command for a list of files in 'file_list.txt'.
OK, I must admit the tag 'datetimeoriginal' is perfectly updated with this command:
exiftool -Tagsfromfile %d../%f.x3f "-datetimeoriginal" -@ d:\images\2009\file_list.txt
473 image files updated
54 files weren't updated due to errors
- The file_list.txt contains the filenames only.
- 'File_list.txt' must be placed where there are no spaces in the path. (?)
- The command was executed from the folder containing the files that receive the tag 'datetimeorignal' from the X3F one folder up in the brach.
All the German Umlaute like 'ä', 'ö', 'ü' get trashed.
'Graubünden' becomes 'Graubünden'. Probably caused by US-ASCII charset.
I bet there is a way to handle this as well since exiftool appears in Japanese.
What would be the syntax to preserve the utf-8 charset in textfields like 'Location', 'State' or 'Description'?
Or, how can I avoid that these values get thouched at all? (seekeing the more elegant way to accomplish this).
Then when using the verboose option '-v', it gets somewhat scarry. Quite some information is displayed, seems as the whole image is being rebuilt.
Setting new values from ../IMG110813.x3f
Rewriting IMG110813.tif...
Editing tags in: ExifIFD IFD0 MIE-Doc MakerNotes TIFF XMP
FileType = TIFF
MIMEType = image/tiff
ExifByteOrder = II
Rewriting IFD0
Rewriting XMP
Rewriting IPTC
[nothing changed]
Rewriting Photoshop
Rewriting ExifIFD
Rewriting ICC_Profile
Copying 1 image data blocks
Leaving out '-Tagsfromfile' then about 180 lines of values are displayed (probably shouldn't do that).
I'd assume that's how it's supposed to be, right?
Thanks, Hans.
|