Tiff Tag 306 ModifyDate to Tiff images

Started by j99mac, September 21, 2021, 02:19:46 PM

Previous topic - Next topic

j99mac

I am trying to add Tiff Tag 306 ModifyDate to Tiff images. Is there a command to do that?

j99mac

Is FileModifyDate the same as ModifyDate? Tiff tag 306

Phil Harvey

Regarding the tag name, see the EXIF Tags documentation and hover over the hex tag ID to see the value in decimal.

A command is:

exiftool -modifydate="2021:09:21 14:47:00" 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 ($).

j99mac

When I run your command I get _original in my folder. Is there a way to make sure it dose not make that file.
Also is there away to make it put in the date I run the command?

Phil Harvey

Use this command to insert the current date/time and avoid the _original backup:

exiftool -overwrite_original -modifydate=now 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 ($).

StarGeek

Quote from: j99mac on September 21, 2021, 02:44:03 PM
Is FileModifyDate the same as ModifyDate? Tiff tag 306

FileModifyDate is the file system modify date.  It is part of the underlying file system and not embedded data.
"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

j99mac

When I run the script
exiftool -overwrite_original -modifydayte=now FILE

I got the this
Warning: Tag 'modifydayte' is not defined
Nothing to do.

Is there something I need to add to get it to do something?

StarGeek

Don't you mean ModifyDate, not modifydayte?
"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