So I didn't have the year set correctly in my camera and all my picture from a recent trip are ended up having a 2009 date instead of a 2010 date.

Is there anyway to batch change only the year for the picture and keep the time and month and day? In iphoto you can't just change the year by itself, and in mac os if you do select all, get information you can't really change the modifed / creation date ?

Any clues?


Yes there are. The meta info format is called EXIF, and there is a command line tool called exiftool which can to exactly that.

Example invocations from the man page:

   exiftool -DateTimeOriginal-=’0:0:0 1:30:0’ dir
        Adjust original date/time of all images in directory "dir" by
        subtracting one hour and 30 minutes.  (This is equivalent to
        "-DateTimeOriginal-=1.5".  See Image::ExifTool::Shift.pl for

   exiftool -createdate+=3 -modifydate+=3 a.jpg b.jpg
        Add 3 hours to the CreateDate and ModifyDate timestamps of two images.

   exiftool -AllDates+=1:30 -if ’$make eq "Canon"’ dir
        Shift the values of DateTimeOriginal, CreateDate and ModifyDate
        forward by 1 hour and 30 minutes for all Canon images in a directory.
        (The AllDates tag is provided as a shortcut for these
        three tags, allowing them to be accessed via a single tag.)

I am sure you can set the year to exactly 2010 in some way.

| improve this answer | |
  • Wouldn't it just be to add 1 year to the date? – Svish Feb 28 '10 at 21:29
  • yeap the point was to add 1 to the year. This seems like a good tool I guess but to add the year do you have to add the equivalent in hours? – ayrad Feb 28 '10 at 22:09
  • For adding 1 year, the exiftool command is: exiftool -AllDates+='1:0:0 0' picture.jpg – thdox Jun 26 '16 at 22:36

My version of iPhoto has a menu item to change dates. It enables you to offset each file of a selection by a certain amount of time (i.e. some years, some months).

| improve this answer | |

I ended up using a GUI tool that does the job. You drag the files to it and change the year of a bunch of files. Here is the link in case anyone has a similar problem. A better finder attributes

I just noticed a second way of doing this. In picasa tools -> adjust date and time

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.