ExifTool Forum

ExifTool => Newbies => Topic started by: yusheng on September 25, 2015, 11:29:11 PM

Title: Copying EXIF from all the files in one directory to another directory
Post by: yusheng on September 25, 2015, 11:29:11 PM
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!
Title: Re: Copying EXIF from all the files in one directory to another directory
Post by: Phil Harvey on September 28, 2015, 08:40:19 AM
I think this is the command you want:

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

- Phil