Change .EXIF dates with TC using the .EXIF plugin?
Moderators: Hacker, petermad, Stefan2, white
-
- Junior Member
- Posts: 51
- Joined: 2010-03-24, 10:51 UTC
Hello,
I need to find a way to rewrite the date/time after copying files from a cheap Canon compact camera that uses MTP. For some reason, and unlike other cameras I had, Windows doesn't preserve the original date/time.
Thankfully, the original infos are still available in the Exif data within files.
I followed the instructions above to use the JPG Comment plug-in (2.3.5.0, 32-bits), but the date/time doesn't change, whether I mark whole directories or a single file:
Image: https://s15.postimg.cc/nzczzt16j/TC.JPG
Any idea what I'm doing wrong ?
Thank you.
I need to find a way to rewrite the date/time after copying files from a cheap Canon compact camera that uses MTP. For some reason, and unlike other cameras I had, Windows doesn't preserve the original date/time.
Thankfully, the original infos are still available in the Exif data within files.
I followed the instructions above to use the JPG Comment plug-in (2.3.5.0, 32-bits), but the date/time doesn't change, whether I mark whole directories or a single file:
Image: https://s15.postimg.cc/nzczzt16j/TC.JPG
Any idea what I'm doing wrong ?
Thank you.
-
- Junior Member
- Posts: 51
- Joined: 2010-03-24, 10:51 UTC
Thanks mucho.
Does it mean we no longer need the JPG Comment plug-in because this feature has been merged into TC?
Image: https://s15.postimg.cc/67tkgajcb/Total_Commande.JPG
Does it mean we no longer need the JPG Comment plug-in because this feature has been merged into TC?
Image: https://s15.postimg.cc/67tkgajcb/Total_Commande.JPG
NO - The internal tc-"plugin" provides access to the writedate property, but the value is provided by the jpg-comment plugin - Click on the [+] button and you will see that.Does it mean we no longer need the JPG Comment plug-in because this feature has been merged into TC?
Last edited by petermad on 2018-06-03, 16:28 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re:
.solid wrote: 2018-01-29, 14:29 UTCYou can use XNViewMP. It has EXIF date changing capabilities, to current time, by absolute date/time or by offset of any readable date/time. Also has preview of the new date/time values. Works on single or multiple selected files at once.asdfagasd wrote:Hey Phred,
Which of the programs you recommend can do change many exif dates all at the same time?
solid, I had a look at your comment again but I couldn't find anywhere that XnViewMP could change Exif data.
I can see how under Tools, Metadata, IPTC and XMP ...
[UPDATE]
I find that the Change Exif routine is under (in the thumbnail browser) Tools, Change timestamp ..., and seems quite comprehensive, too. Thx.
I notice that Photo Gallery uses a different date compared to the Exif data. I remember reading that P/G data has it's roots in Windows XP Properties and that seems to be its focus with less recognition to Exif data blocks. Maybe it's in its own sidecar database..
Regards, PhredE
-
- New Member
- Posts: 1
- Joined: 2024-06-18, 01:20 UTC
Re:
Thank you so much for this!!! I spent hours this afternoon trying to do this exact thing - auto add filedate to EXIF create date on photos . I created a button using in tC:petermad wrote: 2018-01-15, 00:38 UTC 2JimmyTheBroker
I have made this button for you:
1. download https://sno.phy.queensu.ca/~phil/exiftool/exiftool-10.75.zip and unpack exiftool(-k).exe to %COMMANDER_PATH\Tools\ExifTool\ and rename it to exiftool.exe.Code: Select all
TOTALCMD#BAR#DATA %COMMANDER_PATH%\Tools\ExifTool\exiftool.exe -k -P -overwrite_original -charset filename=UTF8 -AllDates<FileModifyDate -ext JPG -@ %UL %COMMANDER_PATH%\Tools\ExifTool\exiftool.exe Set all EXIF dates to current file date (write date) -1
2. Mark all of the green code above (including the -1 in the bottom) and copy it to the ClipBoard (Ctrl+C)
3. Right click on TC's button bar and choose "Paste"
You now have a button that will change the EXIF dates of all the files selected in the active file panel to Windows's file date (write date).
If you mark directories, then they will be scanned one level deep for JPG files which will ALL be changed - so be carefull with marking directories unintentionally.
If you want to process other file types than JPG then remove the parameter: -ext JPG
exiftool.exe "-AllDates<FileModifyDate" -overwrite_original
Parameters: %P %N
But yours works better as the one I did doesn't handle folders with spaces in it... I wish I had found this thread earlier!