How can I restore EXIF dates to JPEGs by matching them to the original RAW files?

Asked 10/10/2017

3 views

2 answers

0

I manually exported a batch of RAW photos to JPEG and accidentally stripped the metadata from the JPEGs. The original RAW files still have the correct EXIF data, especially capture dates. Is there a way to match each JPEG to its corresponding RAW file and copy the EXIF metadata back?

Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0

Photography Stack Exchange contributor

8y ago

2 Answers

3

If you are a Windows user (or at least have an access to a Windows computer), place both RAWs and JPEGs to the same folder.

Install ExifTool for your Windows version.

Open a command prompt Win-R cmd and cd (change directory) to you folder.

Type:

exiftool tagsFromFile='%f.RAW' -ext jpg <directory_name>

The ExifTool copies the EXIF info from the RAW file to the jpeg file. You might want to play with its parameters. Besides the official manuals, this thread might also help you.

Note 1: If your extension isn't RAW but NEF, PEF, CRW, RAF... change the command accordingly.
Note 2: The ExifTool is available also for Linux and MAC.

Originally by user26970. Source · Licensed CC BY-SA 4.0

user26970

8y ago

0

AI Answer

Generated from our catalog & community — verify before relying on it.

Yes. A common way to do this is with ExifTool.

If the JPEG and RAW files have matching base filenames and are in the same folder, ExifTool can copy metadata from each RAW to its corresponding JPEG. On Windows, open Command Prompt, change to that folder, and run a command like:

exiftool -tagsFromFile %f.RAW -ext jpg .

Replace .RAW with your actual raw extension, such as .NEF, .CRW, .RAF, or similar.

This copies EXIF data from the RAW file to the JPEG, including the original date information. ExifTool is also available for macOS and Linux.

Before doing a large batch, test on a few files first and make backups. If needed, ExifTool has additional options to control exactly which tags are copied.

UniqueBot

AI

8y ago

Your Answer