Why can not I modify or delete Time Stamp?

Started by VladChav, November 17, 2016, 05:15:08 PM

Previous topic - Next topic

VladChav

Why can´t modifier or delete Time Stamp?
I used the commands:

exiftool -TimeStamp=

or

exiftool "-TimeStamp<FileModifyDate"

These are the results:
0 image files updated
1 image files unchanged
:(

StarGeek

What kind of file?    What are the results of exiftool -timestamp -g1 -a -s file ?
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

VladChav

They are .jpg files

The results of exiftool -timestamp -g1 -a -s are:

---- Samsung ----
TimeStamp                       : 2016:11:02 15:35:09-05:00

Thank you very much for your attention StarGeek :)










StarGeek

Unfortunately, it appears that the Samsung:Timestamp tag is not writable by exiftool.  If you look under the Samsung tags, you'll see that Timestamp has an N under the writable column.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

Phil Harvey

You can delete the Samsung trailer containing the TimeStamp with this command:

exiftool -trailer:all= FILE

As well as the TimeStamp, this will delete the MPF trailer containing the PreviewImage.  But these previews are mainly used by the cameras, and are of limited use afterwards.

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

VladChav

Wow! It's great, it works! Thank you very much Phil  :) :) :)

101db

Hi sorry to jump on your post but I'm having a similar problem, I'm trying to change a raw file. I type in the code for changing the date but how do I set it? I've pressed enter but no change..
Thanks

Phil Harvey

What was the exact command you used?  What messages did ExifTool give?  What was your ExifTool version?  What model of camera is the raw file?

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

101db

I used the command I found on the website: '-DateTimeOriginal+=5:10:2 10:48:0' though I only want my date moved forward 5 months so put '0:5:0 0:0:0' in that part. I downloaded today the windows version 10.33. I used a Canon 6D, file CR2

Phil Harvey

OK.  On Windows you need to use double quotes instead of single quotes.

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

101db

so the exact command as above but with " (a double) or '' (two singles)? Do I press enter afterwards and it just changes or do I need to do something to set it? Thank you

Phil Harvey

The command will look something like this:

exiftool "-datetimeoriginal+=0:5:0 0:0:0" FILE

Where you can drag and drop the file onto the cmd window instead of typing the file name for FILE.

Then press RETURN

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

101db

I've done everything as instructed but it still isn't working for me. Thanks for your help, looks like I will have to give up!

Hayo Baan

Please show us the exact command you used, I'm sure there is an error in your input somewhere, no reason to give up :D
Hayo Baan – Photography
Web: www.hayobaan.nl

101db

I don't know how to show you, but I can tell you.. I dragged my photo I want to change over the exiftool application to open with exiftool then typed in

exiftool "-datetimeoriginal+=0:5:0 0:0:0"

I then dragged the picture file into the exiftool text bit where I was typing and the file name came up then pressed enter this didn't work, so I also tried typing FILE on the end of what I typed as Phil said but still didn't work. maybe I am doing something wrong?