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

1 Commits

Author SHA1 Message Date
Cameron Cordes
1ddbca3413 exif: preserve filesystem mtime on GPS write
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>
2026-05-04 16:09:21 -04:00