ExifTool Forum

ExifTool => Newbies => Topic started by: dijkstra on December 02, 2012, 06:48:42 AM

Title: date picture taken vs date created
Post by: dijkstra on December 02, 2012, 06:48:42 AM
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
Title: Re: date picture taken vs date created
Post by: Phil Harvey on December 02, 2012, 07:43:02 AM
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
Title: Re: date picture taken vs date created
Post by: dijkstra on December 02, 2012, 09:45:02 AM
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
Title: Re: date picture taken vs date created
Post by: dijkstra on December 03, 2012, 09:33:24 AM
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..
Title: Re: date picture taken vs date created
Post by: Phil Harvey on December 03, 2012, 10:36:41 AM
This is discussed in FAQ number 3 (https://exiftool.org/faq.html#Q3).

- Phil
Title: Re: date picture taken vs date created
Post by: dijkstra on December 03, 2012, 11:21:39 AM
Where would we be without guys like you ;-)
roel