back home

Batch Change Date Created to match EXIF Data

December 24, 2015

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 "http://www.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