varnav / ExifDate2FS

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 98.9%Language:PowerShell 1.1%