System Requirements

  • Microsoft® Windows® 10
  • Microsoft® Windows® 8.1
  • Microsoft® Windows® 7
  • Microsoft® Windows Vista®
  • Microsoft® PowerShell™

DateFix by Joe Pitt

Standardise Photo and Video filenames and timestamps.

DateFix.ps1 accepts a folder from the user then works through the files optionally recursing to name them as consistently as possible using the yyyyMMdd_HHmmss.ext format.

The scripts first tries to use the embedded Date Taken EXIF Date, if this is not available the file's current filename is used.


  1. Click Download above
  2. Unzip the downloaded file (DateFix-vX_Y.zip)
  3. Launch Microsoft® PowerShell™
  4. Run \path\to\DateFix.ps1 with the below options:
    • -Path The root folder to be processed, e.g. C:\Users\Username\Pictures\
    • -Recurse Recurse through subdirectories of the root folder.
    • -DateModifiedFallback Use file's Date Modified time if EXIF and Pattern Matching fails.
    • -DryRun Run DateFix without writing any changes - outputs all changes that would be made.
    • -Verbose Enables verbose output.