Skip to content

laurentyhuel/Batch-to-change-file-last-modified-date-from-JPEG-EXIF-metadata

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Batch to change file last modified date from JPEG EXIF metadata

Description

When you moved your pictures for instance with scp or ftp, you loose picture date. This command help you to use date saved in JPG EXIF set by camera, as last modified date of file.

Exiv2

The EXIF handling tool exiv2 has a builtin option for this

Script

In command-line, go to root folder of your images.

Install exiv2:

sudo apt install exiv2

Find all your images with extension JPG and replace last modified date with JPG EXIF medadata:

find -name '*.JPG' -exec exiv2 -T rename {} \;

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published