Please verify correctness of command

Started by brettphoto, February 11, 2012, 08:21:15 PM

Previous topic - Next topic

brettphoto

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

brettphoto

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

brettphoto

dirs

source - c:/tiff/files-here.tif
dest - e:/dng/files-here.dng

BogdanH

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

brettphoto

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).

brettphoto

#5
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

Phil Harvey

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 for an explanation.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).