Skip to content

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

License

Notifications You must be signed in to change notification settings

varnav/ExifDate2FS

Repository files navigation

ExifDate2FS

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)

Supports Windows, Linux, macOS and probably other OSes.

Installation

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.

Usage

PiPy package

exifdate2fs /home/username/myphotos

Windows executable

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

See also

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published