date picture taken vs date created

Started by dijkstra, December 02, 2012, 06:48:42 AM

Previous topic - Next topic

dijkstra

Hello forum
It is perhaps very easy but my english is poor and certainly the answer is already here but I cannot find it.
I have a lot of pictures with the IPTC field 'date created' filled
I want to copy that information to the exif field 'date picture taken'
how can i do that with exiftool
and a extra problem: I have serveral maps with only a few pictures that have to be changed out of a few hundred
and it is impossible to move those pictures out of that map for processing. they have to stay in that map/
can i do that better in exiftool gui and how do i have to do that
thanx for your answer

roel
dijkelmans@zonnet.nl

Phil Harvey

Hi Roel,

The IPTC DateCreated is a date-only tag.  If IPTC TimeCreated also exists then ExifTool will generate a DateTimeCreated tag you can copy to the EXIF DateTimeOriginal:

exiftool "-datetimeoriginal<datetimecreated" FILE

(where FILE is one or more directory or file names)

But if IPTC TimeCreated doesn't exist, you will have to generate a time yourself:

exiftool "-datetimeoriginal<$datecreated 12:00:00" FILE

Since there is a "$" in this argument, you need to use single quotes if you are on Mac or Linux.  Double quotes (as above) are used in Windows.

I'm sorry, but I don't understand what you mean by pictures in a map.  What format is the map file?

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

dijkstra

Thx Phil. I found out what to do.
(btw with map I mean folder. )
for getting the result I want I start the GUI, go to the folder I want to process.
I choose details: user defined, there I can see which pictures contain a filled date created field
Then I add the line -datetimeoriginal<datetimecreated on the exif tool direct line, enter and voila ;-) it works

thx mate

roel

dijkstra

Phil,
I have some pictures with the following 'ExifCameraInfo'
there is no DateCreated or DateTime filled field. But still, there is a stored date in the camerainfo.
How do I get the date 2003:12:13 02:09:54 in the DateCreated or DateTime or DatePictureTaken field

Thx

roel


Model :                    .NIKON D100 ..Software :                .Ver.2.00 ..Date and Time :       .2003:12:13 02:09:54..Exposure Time :      .1/50 Sec..ISO Speed :             .0..Aperture :                 .1:4.5..Flash :                     .Yes..Quality :                   .Normal..Zoom Length :         .14 mm..Exposure Program :.Manual..Exposure Bias :      .0.000 ..Metering Mode :      .Pattern..Light Source :          .Unknown..Zoom Length :         .14 mm..

Phil Harvey

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

dijkstra

Where would we be without guys like you ;-)
roel