Andy
A-ndy.dev

A-ndy.dev

Batch Change Date Created to match EXIF Data

Andy's photo
Andy
·Aug 7, 2021·

1 min read

Have you ever copy image file and suddenly change created or modified date?
Well, it is what I facing right now.

We can use jhead CLI program to fix that.

1. Install jhead to your bin

$ curl "sentex.net/~mwandel/jhead/jhead-2.97.tar.gz" | tar xz

then:

$ cd jhead-2.97 $ make

and install:

$ make install

2. Go to your photo folder

$ cd [your_photo_folder]

3. Run jhead

$ jhead -ft *.jpg

or for reclusive you can do:

$ jhead -ft */*.jpg

You can use this available options here

 
Share this