How to put the date of many photos in the caption/description EXIF

Started by RocketFish, January 01, 2016, 06:20:20 PM

Previous topic - Next topic

RocketFish

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!!

StarGeek

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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

Phil Harvey

Also, you will need quotes around the argument containing the greater-than symbol.  ie) "-description<datetimeoriginal"

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).