TagsFromFile - batch operations on separate files

Started by Archive, May 12, 2010, 08:54:28 AM

Previous topic - Next topic

Archive

[Originally posted by louiscar on 2008-11-16 10:08:21-08]


In and effort to create a batch file version using TagsFromFile to copy a tag out to an xmp or mie file I have this :

Code:

exiftool -TagsFromFile  %%f.nef -xmp-crs:all *.xmp

However, if an xmp file is not present it will not be created and I get 'file not found'. If it is present then the process works and the tag is copied out to the xmp and a copy created.

I'm trying to use TagsFromFile to create an MIE or xmp for all files at once rather than having to do them individually. Is it possible ?

Archive

[Originally posted by bogdan on 2008-11-16 10:53:06-08]

Hi,

As far I can recall, "-o" switch is needed for creating output (xmp or mie) files. I have used something like this:
Code:
exiftool -o %f.xmp -xmp-crs:all *.nef
-hope that helps.

Bogdan

Archive

[Originally posted by louiscar on 2008-11-16 15:19:55-08]

Thanks Bogdan,

This works well.  I guess I'm getting confused with when I need to use TagsFromFile,

Archive

[Originally posted by exiftool on 2008-11-17 11:49:32-08]

There are subtle differences between -o and
-tagsfromfile.  I have started to write some
documentation to explain these details, and here is my
current working copy:

https://exiftool.org/metafiles.html" target="_blank">https://exiftool.org/metafiles.html

- Phil