Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

3 Answers 3

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
        details.)

   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.

share|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
    
+1, for exiftool; it is excellent. –  nik Mar 1 '10 at 0:16
up vote 0 down vote accepted

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

share|improve this answer

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).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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