Copying EXIF from all the files in one directory to another directory

Started by yusheng, September 25, 2015, 11:29:11 PM

Previous topic - Next topic

yusheng

So I have one directory with hundreds of JPG files, and another directory with the same JPG filenames but in this second directory, all the EXIF are stripped.

Dir1/0001.jpg
Dir1/0002.jpg
...

and

Dir2/0001.jpg
Dir2/0002.jpg
...

How can I copy all the EXIF from Dir1's files to Dir2's files without doing it one by one?

Thanks!

Phil Harvey

I think this is the command you want:

exiftool -tagsfromfile Dir1/%f.%e -all:all Dir2

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