Skip to main content

This tool will recursively update file timestamps to information from EXIF tag DateTimeOriginal

Project description


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

Supported file formats (file extensions):

  • JPEG (.jpg .jpeg)
  • TIFF (.tif .tiff)
  • WebP
  • HEIC/HEIF (.heic, .heif) - experimental
  • CR2 (.cr2)
  • CR3 (.cr3) - experimental via mp4analyser library

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.


PiPy package

exifdate2fs /home/username/myphotos

Windows executable

./ExifDate2FS.exe "c:\Users\username\Pictures\My Vacation"

See also

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

exifdate2fs-0.8.9.tar.gz (16.1 kB view hashes)

Uploaded source

Built Distribution

exifdate2fs-0.8.9-py3-none-any.whl (18.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page