Skip to content

Fixes last edit datetime and exif data for whatsapp medias (photo and videos)

Notifications You must be signed in to change notification settings

Focshole/whatsapp-media-exif-fixer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

whatsapp-media-exif-fixer

Have you ever found your WhatsApp images and videos messed up with the timeline?

This tool allows you to fix the last modified time (both images and videos), created time and the EXIF time acquisition data (images only) in such a way that it fixes media files' date and time in a best effort approach.
It infers the media creation timeline from their names (eg. IMG-20201019-WA0001.jpg had been taken before than IMG-20201019-WA0002.jpg and both had been received/sent on 19th October 2020)

Changelog

  • Added a UI in wxPython, it works on Linux, haven't fully tested yet on Windows.
  • Provided a Windows batch installer.

How to install

Windows

If you have no experience with python, I have provided an "installer", a batch file that will install python and the required libraries, and provide a shortcut in the Start Menu and Desktop too. You can find it here. Requires Windows 10 (it has curl) or newer/better.

Linux

  1. Download and extract the repository
  2. Create a virtual environment or pip3.9 install -r src/requirements.txt

How to use

  1. Create a backup copy of your media folder. Don't run it directly on microSDs.
  2. Run the whatsapp-media-fixer.py script
    • If you have used the installer, double click on the shortcut.
    • On Linux/if you didn't use the installer python3.9 src/whatsapp-media-fixer.py

Be careful, this is I/O intensive, I would recommend you to run it over an SSD or an HDD. Use this tool at your own risk. Tested on Linux only, still testing it on Windows, may work on Mac too but I haven't tested it.

About

Fixes last edit datetime and exif data for whatsapp medias (photo and videos)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published