ExifTool Forum

ExifTool => Newbies => Topic started by: Vero53 on July 17, 2017, 08:31:39 AM

Title: Command to copy all exifs from all files in one dir to another dir
Post by: Vero53 on July 17, 2017, 08:31:39 AM
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 !
Title: Re: Command to copy all exifs from all files in one dir to another dir
Post by: Phil Harvey on July 17, 2017, 09:38:55 AM
The command is this:

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

- Phil
Title: Re: Command to copy all exifs from all files in one dir to another dir
Post by: Vero53 on July 17, 2017, 04:17:16 PM
Thanks a lot !  :)