Restore Photo Metadata: Timestamps, Copyright, GPS and XMP

XAppSet Team
Published on September 28, 2026

Start by reading the metadata that survived. If an original tag is absent, search the matching catalog, sidecar, earlier export or independent record before writing a replacement. Work on copies and keep recovered values, estimates and new annotations distinguishable.

Survey before writing

With ExifTool available, a read-only example for one working-copy image is:

exiftool -G1 -a -s -DateTimeOriginal -CreateDate -ModifyDate -FileModifyDate -Artist -Copyright photo-copy.jpg

Compare embedded capture fields with filesystem dates and what the intended catalog displays. A date assigned during copying is not automatically the date the photograph was taken. Survey several representative files and their companions before applying a batch rule.

Recover an existing record or label an estimate

InformationUseful evidenceLimit
Capture timeMatching original, catalog, earlier export or a documented camera clock offsetFilename order does not establish regular time intervals
GPSExisting coordinates or a correctly aligned independent trackTime zone, clock alignment and track accuracy must be checked
Exposure and camera detailsOriginal metadata or a matching production recordA neighboring frame may use different settings
Creator, rights or descriptive fieldsInformation supplied by the responsible personA new annotation is not a recovered camera measurement

If only a rough shoot window survives, retain it as a documented estimate instead of assigning invented precision to every image. Burst spacing, pauses, clock changes and multiple cameras can break linear filename interpolation. Keep unknown values unknown when there is no defensible record.

Test a small write on a copy

For an intentional creator annotation, replace the example value below with the authorized information and use a disposable working copy:

exiftool -Artist="Creator supplied by the owner" photo-copy.jpg

ExifTool normally keeps the previous file with an _original suffix when writing. Its overwrite_original option suppresses that recovery copy, so it is omitted here. Check the exact file-type support and read the tool’s documentation before a batch write. Preserve the first recovery export separately from this editing work.

For per-file changes, prepare and review a mapping between each working-copy path and the intended fields, then test it on a small set. Do not give every photo the same capture time merely to make sorting look tidy. Do not run a recursive command against the only recovered folder without checking its scope.

Keep sidecars and catalogs with the images

A proprietary RAW workflow may use an XMP sidecar or catalog for editing information. Follow the application’s metadata workflow for that file type, and retain companion names and relationships. An arbitrary .xmp filename is not proof that every application will load its fields or that the RAW original was rewritten.

For the difference between embedded records, filesystem dates and external records, see where camera metadata lives. This page focuses on controlled edits rather than repeating that format explanation.

Read back and verify the deliverable

Repeat the survey command on the edited samples, then open the actual files in the application that will use them. Check the fields, time zones and sorting behavior that matter to the job, as well as full image content. Keep a record of which values were restored from evidence, estimated or newly supplied.

Only then apply the reviewed changes to the remaining working copies. Preserve initial exports and the change mapping until delivery has been checked. Metadata editing cannot recreate missing pixels or prove an uncertain date, location or camera setting.

Privacy Overview
XAppSet

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Strictly Necessary Cookies

Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.