Skip to content

danialmalik/media-time-stamps-updater

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Update Media files timestamps

Often when we upload our photoes and media files somewhere and then download, the file modification timestamps are updated and thus the file managers cannot sort the files properly in chronological order.

This simple script is to help me to avoid this issue by:

  • Read metadata (Exif data) from photos and videos.
  • Get the media creation time from that.
  • update the file modification time accordingly.

Requirements:

sudo apt-get install -y exiftool
pip install -r requirements.txt

Usage:

python run.py PATH_TO_DIRECTORY

About

Update the modification time stamp for photo and video files as per their metadata.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages