PDA

View Full Version : [gnome] Changeing Time with exiftool



SpinningAround
June 21st, 2009, 07:14 PM
Trying to change a few pictures creation time with exiftool but I'm not very successful so far, what I would like to do is to change all jpg files in dir /home/linux/temp/ creation date from 2007/01/01 to /2009/06/19 but I don't how. Could you please help me?

Celauran
June 23rd, 2009, 05:30 PM
Might be easier to do with touch. Navigate to the directory containing the images to be changed, and type this:


for i in *; do touch -t 200906191200 "$i"; done

This will change the time to noon on June 19.