Command to copy all exifs from all files in one dir to another dir

Started by Vero53, July 17, 2017, 08:31:39 AM

Previous topic - Next topic

Vero53

Hello,

I've read all the documentation but I can't figure the exact syntax to simply copy the exifs form the files in a directory to the files in b directory.
The filesin a directory and b directory have the exact same name but Photolemur has removed all exifs in b directory and I want to restore them from the original files in a directory.
I just can do it file by file :
exiftool -tagsFromFile d:\a\1.jpg d:\b\1.jpg
How can I do to do it for all the files in one command ?
Thank you !

Phil Harvey

The command is this:

exiftool -tagsfromfile d:\a\%f.%e d:\b

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