Closed ahorn-lk closed 1 week ago
First of all. You could also post your question in the ExifTool Forum. If you know the ExiFtool command to use, I may be able to tell how that can be done in GUI.
I think your idea is not bad. But I would probably first export to .XMP. Then use the function you mention and use the exported .XMP as input. Tip: You can create a .PS PowerShell and adapt that to suit your needs.
Note that the function below 'Copy metadata into ALL JPG or TIF files' has a bug. I will fix that. The difference is that that function does not use the selected files, but processes all files in the directory.
See the screenshots.
Did some more investigation.
1) File:Comment is not written to .XMP files, or any of the other export formats. So I think you need to save your data to .JPG files.
2) It may be a good option to use 'ExifTool Direct'. Suppose your saved JPG's are saved in a subdir called 'SAVE'. Then you could use this Command:
-TagsFromFile SAVE\%f.jpg -File:Comment
Tip: Save it as a predefined command.
Hello Frank,
thank you for your investigation and replies.
So I was quite close to your recommended steps.
Regarding: “File:Comment is not written to .XMP files”
Is that intended or rather a bug ?
and: “-TagsFromFile SAVE\%f.jpg -File:Comment”
searches for ALL selected files
a corresponding (original) file in the SAVE directory
and replaces File:Comment in the related selected file – right?
I will check that right now 😊.
Thanks again and best regards
Lutz
From: FrankBijnen @.> Sent: Dienstag, 25. Juni 2024 20:57 To: FrankBijnen/ExifToolGui @.> Cc: ahorn-lk @.>; Author @.> Subject: Re: [FrankBijnen/ExifToolGui] How to update File:Comment from a text file (Issue #437)
Did some more investigation.
-TagsFromFile SAVE\%f.jpg -File:Comment
Tip: Save it as a predefined command.
ET.Direct.jpg (view on web) https://github.com/FrankBijnen/ExifToolGui/assets/63312605/568f907a-c020-4a6f-9364-800e86e2ff4a
— Reply to this email directly, view it on GitHub https://github.com/FrankBijnen/ExifToolGui/issues/437#issuecomment-2189745042 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BJODCI3HNLSJMAWAVXA4TVTZJG4OZAVCNFSM6AAAAABJ4BDWBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBZG42DKMBUGI . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BJODCIY6NICVNLXRZZSEOLTZJG4OZA5CNFSM6AAAAABJ4BDWBSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUCQTNZE.gif Message ID: @. @.> >
Is that intended or rather a bug ?
First of all. Gui doesn't write tags. It leaves that to ExifTool. So the definitive answer should come from ExifTool. But here's my try:
Generally speaking. Not all tags are applicable to all filetypes. Apparently File:comment is no valid tag to write for XMP. I know that it is possible to add custom tags to XMP using the ExifTool Config file, but that would be overkill here. I think.
For a complete listing of tagnames per filetype refer to: https://exiftool.org/TagNames/
and replaces File:Comment in the related selected file – right?
Correct.
Hello Frank,
I created a preferred command, made it my default command and tested it: It works perfectly and will save me a lot of checking comments and Copy&Paste 😊.
Thank you very much for your help !
Gruß Lutz
From: FrankBijnen @.> Sent: Mittwoch, 26. Juni 2024 12:23 To: FrankBijnen/ExifToolGui @.> Cc: ahorn-lk @.>; Author @.> Subject: Re: [FrankBijnen/ExifToolGui] How to update File:Comment from a text file (Issue #437)
Is that intended or rather a bug ?
First of all. Gui doesn't write tags. It leaves that to ExifTool. So the definitive answer should come from ExifTool. But here's my try:
Generally speaking. Not all tags are applicable to all filetypes. Apparently File:comment is no valid tag to write for XMP. I know that it is possible to add custom tags to XMP using the ExifTool Config file, but that would be overkill here. I think.
For a complete listing of tagnames per filetype refer to: https://exiftool.org/TagNames/
and replaces File:Comment in the related selected file – right?
Correct.
— Reply to this email directly, view it on GitHub https://github.com/FrankBijnen/ExifToolGui/issues/437#issuecomment-2191344556 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BJODCIYZJUUABOS3QJ7YER3ZJKJB3AVCNFSM6AAAAABJ4BDWBSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJRGM2DINJVGY . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BJODCI64GEMMXJWXMFHPNYLZJKJB3A5CNFSM6AAAAABJ4BDWBSWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUCTVB2Y.gif Message ID: @. @.> >
You're welcome. Will close the issue
Hello all, I use a tool to "develop" Panasonic RW2 files to JPG format. Using this tool on JPGs, it removes comments added to it. I'm now searching how to
Is there a way to make use of the previously exported Metadata in the TXT-file. ? (probably reducing the long file and filter "File:File name" and "File:Comment" only).
Thanks for your ideas