Skip to content

dennisfrijlink/whatsapp-date-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

whatsapp-date-fixer

whatsapp-date-fixer

Tiny script to restore the dates in photos shared using Whatsapp. Built using Typescript and the Javascript Runtime Bun

Packages used

  • Day.js - Fast 2kB alternative to Moment.js with the same modern API
  • exiftool-vendored - Fast, cross-platform Node.js access to ExifTool.

To install dependencies:

bun install

Set path to scan for images:

# .env

SCAN_ROOT=path/to/scan

Run using:

bun start

Note:

Whatsapp images only contain the day, month and year. NOT the time. That's why the DateTimeOriginal is set on 12:00 (12 PM);

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published