exif: preserve filesystem mtime on GPS write #74

Merged
cameron merged 1 commits from fix/exif-preserve-mtime into master 2026-05-04 20:12:09 +00:00
Owner

Pass -P to exiftool so write_gps doesn't bump the file's modification
time. For phone photos with no embedded EXIF datetime, the filesystem
mtime is often the only timestamp we have — losing it on every GPS
backfill would be data loss.

Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com

Pass -P to exiftool so write_gps doesn't bump the file's modification time. For phone photos with no embedded EXIF datetime, the filesystem mtime is often the only timestamp we have — losing it on every GPS backfill would be data loss. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cameron added 1 commit 2026-05-04 20:12:02 +00:00
Pass -P to exiftool so write_gps doesn't bump the file's modification
time. For phone photos with no embedded EXIF datetime, the filesystem
mtime is often the only timestamp we have — losing it on every GPS
backfill would be data loss.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
cameron merged commit 9ccb48233f into master 2026-05-04 20:12:09 +00:00
cameron deleted branch fix/exif-preserve-mtime 2026-05-04 20:12:09 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Apps/ImageApi#74