[Originally posted by tomar on 2009-09-12 15:34:15-07]Hi - I have been searching for hours on how to change a batch of image files from EXIF to XMP. I am familiar with the command:
exiftool -TagsFromFile src.jpg '-all>xmp:all' dst.jpg
but I don't know how to change this command to updates multiple files in a directory at once. Can someone please help as I have hundreds of images that need to be changed. Thanks!
[Originally posted by exiftool on 2009-09-13 10:47:15-07]You just enter the directory name instead of a file name.
exiftool -tagsfromfile src.jpg '-all>xmp:all' directory_name
But this will take the tags from src.jpg for all of the files in
the directory. Is this really what you want? If you want to
take the EXIF and put it into the XMP in the same image, do
this:
exiftool '-all>xmp:all' directory_name
Note that you must use double quotes (") instead of single
quotes (') if you are running in Windows.
These commands will transfer tags to same-named tags in
the XMP. To be more complete, you can use the .args files
included in the main distribution to do standard tag name
translations for you. In this case, the above command would
look more like this:
exiftool -@ iptc2xmp.args -@ exif2xmp.args directory_name
I hope this helps.
- Phil
[Originally posted by tomar on 2009-09-13 14:47:25-07]Yes! It works! Thanks! I tried the
exiftool -@ iptc2xmp.args -@ exif2xmp.args directory_name
command but I received the following error "Error opening arg file iptc2xmp.args"
I then tried
exiftool '-all>xmp:all' directory_name
and that seemed to work. Thanks again!