ExifTool Forum

ExifTool => Bug Reports / Feature Requests => Topic started by: RocketFish on January 01, 2016, 06:20:20 PM

Title: How to put the date of many photos in the caption/description EXIF
Post by: RocketFish on January 01, 2016, 06:20:20 PM
I posted this elsewhere, and got some help, but am getting some errors:

QuoteI have about 400 photos, each were taken on different days. They are named sequentially but nothing extractable from the filename alone.

The current EXIF shows the date modified (NOT DATE CREATED). What I want is all the photos to have a "caption" or "description" field in the EXIT/META data that shows the date the photo was modified in a full format IE: "December 20, 2015" in the description if it was taken on 20/12/15, etc.

what someone told me:

Quoteexiftool -overwrite_original -P -d "%A %B %d, %Y" -title^<datetimeoriginal *.jpg

-title is the tag to be updated with the value of the tag -DateTimeOriginal in the format specified with -d.

%A full name of the day

%B full name of the month

%d day of the month

%Y year as a decimal number including century

-P is to preserve the original date/time


I keep getting a "no writable tags set" error for all the photos.



Example of filename: 1415662376557.jpg

Date modified: 10/11/2014
Date created: 20/12/2015


Any feedback would help!!
Title: Re: How to put the date of many photos in the caption/description EXIF
Post by: StarGeek on January 01, 2016, 08:46:09 PM
Try removing the caret ^ from the command.  That shouldn't be there.  Also, I'd suggest trying either -Description, -Caption-Abstract, or -ImageDescription instead of -Title.  Those are more likely to be the field you want than Title is.
Title: Re: How to put the date of many photos in the caption/description EXIF
Post by: Phil Harvey on January 02, 2016, 11:08:23 AM
Also, you will need quotes around the argument containing the greater-than symbol.  ie) "-description<datetimeoriginal"

- Phil