ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:14 AM

Title: Update CreateDate & ModifyDate with DateTimeOriginal
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by giveitatry on 2008-01-11 18:02:37-08]

Sorry for this lame post... what is the command line to set the file creation and file modify dates to the date the picture was taken?

Thanks
Title: Re: Update CreateDate & ModifyDate with DateTimeOriginal
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by exiftool on 2008-01-11 18:13:44-08]

You can use the following command to set the modify date:

Code:
exiftool "-filemodifydate<datetimeoriginal" image.jpg

but there is no easy way to set the creation date.

- Phil
Title: Re: Update CreateDate & ModifyDate with DateTimeOriginal
Post by: Archive on May 12, 2010, 08:54:14 AM
[Originally posted by giveitatry on 2008-01-11 20:31:20-08]

Excellent!! Thanks for the quick reply.  Turns out creation date was not critical, modifydate was fine.  Worked great.