ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: brettphoto on February 11, 2012, 08:21:15 PM

Title: Please verify correctness of command
Post by: brettphoto on February 11, 2012, 08:21:15 PM
Hi Phil,

I would greatly appreciate verification of the correctness of this command. I am copying keywords from jpegs back to original dngs (I know, doesn't make sense, but go with it). Two folders, same contents per se with same names, different file types

exiftool -tagsfromfile "c:/source-folder/jpg/%f.jpg" -IPTC:Keywords  -ext dng "c:/destination-folder/dng"

Thank you,
Brett
Title: Re: Please verify correctness of command
Post by: brettphoto on February 12, 2012, 12:16:05 AM
I ran this from the command line on a test of two files

exiftool -tagsfromfile "c:/tiff/%f.tif" -iptc:keywords -ext dng "e:/dng/"

and it said "2 images updated" but when I looked at the dngs in Lightroom (I brought them in fresh) nothing had changed
Title: Re: Please verify correctness of command
Post by: brettphoto on February 12, 2012, 01:19:20 AM
dirs

source - c:/tiff/files-here.tif
dest - e:/dng/files-here.dng
Title: Re: Please verify correctness of command
Post by: BogdanH on February 12, 2012, 02:50:39 AM
Hi Brett,

Command seems to be fine.. after executing, did you look into DNG with ExifTool (to see, if keywords are there)?
I don't use LR, but as far I know, to make changes in LR visible, you need to "re-import" metadata from files.

Bogdan
Title: Re: Please verify correctness of command
Post by: brettphoto on February 12, 2012, 03:29:10 AM
Thanks Bogdan, with DNG the IPTC is written directly into the file, and all one can do is import the DNG into Lightroom. You can't re-import the metadata per se with DNG, it just comes along with the file (I am importing the files that were updated by ExifTool "fresh" - they were not in the LR catalog prior).
Title: Re: Please verify correctness of command
Post by: brettphoto on February 12, 2012, 03:35:40 AM
apparently I'm wrong because the kw do show in exiftool. LR should not be behaving this way. If you bring in a brand new DNG, which is what I'm doing -  whatever KW it has should show up. I don't get it.

Working now after just doing the same thing over and over,nothing different, not sure what's going on. Ugh, technology. Thanks for the help
Title: Re: Please verify correctness of command
Post by: Phil Harvey on February 12, 2012, 10:35:50 AM
Hi Brett,

Try using XMP:Subject instead of IPTC:Keywords.  The Adobe products have a tendency to ignore IPTC.

Or better yet, use ExifTool's MWG feature and write MWG:Keywords.  See the MWG Tags documentation (https://exiftool.org/TagNames/MWG.html) for an explanation.

- Phil