This tool will recursively update file timestamps to information from EXIF tag DateTimeOriginal. It accepts one argument - filesystem path. It will not modify files themselves, only filesystem timestamps. For Linux, it will modify mtime while for Windows it will also modify “Date Created”.
Optionally you can rename file to IMG_YYYYMMDD_HHMMSS.jpg with --rename
- JPEG (.jpg .jpeg)
- TIFF (.tif .tiff)
- WebP
- HEIC/HEIF (.heic, .heif) - experimental
- CR2 (.cr2)
Supports Windows, Linux, macOS and probably other OSes.
pip install exifdate2fs
You can download and use it as single Windows binary, see Releases
Unfortunately antiviruses don't like packed Python executables, so expect false positives from them if you go this way. Best way is pip.
exifdate2fs /home/username/myphotos
./ExifDate2FS.exe "c:\Users\username\Pictures\My Vacation"