My previous command was slightly invalid (just for example).
In your case for files with names from your example "20130320" valid command looks like:
Code: Select all
exiftool "-DateAcquired<FileName" -d "%YYYY%mm%dd.%e" *.jpg
Moderators: Hacker, petermad, Stefan2, white
Code: Select all
exiftool "-DateAcquired<FileName" -d "%YYYY%mm%dd.%e" *.jpg
I have already explained why exiftool is not the best choice.
TOTALCMD#BAR#DATA
%ComSpec% /v/q/c for /f "delims= eol=" %f in
('^<"%WL" more') do if not exist "%%f\" set "d=%%~nf" & "%%COMMANDER_PATH%%\Utils\exiv2\exiv2.exe" -M"add Xmp.MicrosoftPhoto.DateAcquired !d:~,4!-!d:~4,2!-!d:~6,2!" "%%f"
wcmicons.dll,82
Set Date Acquired to selected JPG/TIFF files from base name <yyyyMMdd>
1
if you want the jpg-comment plugin to support Xmp.MicrosoftPhoto.DateAcquired, then you have to manually add it to the jpg-comment.ini file - for example at the end as:Fla$her wrote:2solid
Because jpg-comment doesn't have such a field/tag. I watched it even before your first answer.
See the recent topic.
Those are different fields and last one is not even EXIF field. But different software use different terminology for Original and Digitized filed, like taken, acquired, created etc. That is the reason for all the confusion.Fla$her wrote: 2023-01-30, 19:56 UTCI didn't understand the question.
Who told you that? These are all different fields:
Exif.Photo.DateTimeOriginal
Exif.Photo.DateTimeDigitized
Xmp.MicrosoftPhoto.DateAcquired
Fla$her wrote:The disadvantage is that in the current form, the fields will be named as in the old version, i.e. not short.
So you can just modify the second token to the short form (for all entries if you like).read_me.txt wrote:The field name is the second token. It can be any string, however .(dot) must not be used.
I have nothing to check here. You yourself are confused in the search for truth. The fact is that the fields are different.solid wrote: 2023-01-31, 09:18 UTCBut different software use different terminology for Original and Digitized filed, like taken, acquired, created etc. That is the reason for all the confusion.
For example XnViewMP in the EXIF info tab shows DateTaken and DateDigitized. On the ExifTool tab same values can be find as DateOriginal and CreateDate.
Check it out for yourself.
I know, that's why I wrote "in the current form".petermad wrote: 2023-01-31, 09:49 UTCSo you can just modify the second token to the short form (for all entries if you like).
Then there is no point of further discussion.
Why would I check something I've known about for a long time? You yourself agreed that DateAcquired is not even Exif (in Ascii format), but Xmp (in XmpText format). What else do I need to check to make sure of this once again? Install a 100-megabyte program for this? What for? It's enough for me to look at the data output again.
Because, as I already wrote, those same fields in different software are referred to with different names. We don't know what program OP uses and what name it uses, but he clearly asked for EXIF field. And that is possible to do, both ways I suggested to him, contrary to your claim.Fla$her wrote: 2023-01-31, 20:12 UTCWhy would I check something I've known about for a long time? You yourself agreed that DateAcquired is not even Exif (in Ascii format), but Xmp (in XmpText format). What else do I need to check to make sure of this once again? Install a 100-megabyte program for this? What for? It's enough for me to look at the data output again.
My statement is supported by a screenshot, but yours is unfounded so far. Attach a screenshot of the program you are using, which shows Data Acquired as a DateTimeOriginal and provide a link to the file for reconciliation.solid wrote: 2023-02-01, 10:26 UTCAnd that is possible to do, both ways I suggested to him, contrary to your claim.
I've seen EXIF's Date.original interpreted as Date acquired, even when the jpg didn't have Xmp profile.
I don't see any point in taking additional photos. And to believe that a person who understands the subtleties of meta tags uses only one program is at least strange. Do you need a list of all the graphics programs that I use? I think it's unnecessary.solid wrote: 2023-02-01, 10:26 UTCTake a photo with camera or phone and check the values of the fields, not the names. Then check with some other software, you'll see the same values, but names may be different. But if you always check with the same program, of course that you'll get the same result (names).
It doesn't matter what you seen. It is important that these are different meta tags, and I have clearly demonstrated this to you. This is how, for example, it looks in IrfanView and XnView.solid wrote: 2023-02-01, 10:26 UTCWhat I haven't seen yet are different values for Date.original and Date.digitized on original camera photos, although they are different fields in the specs.
Interesting that your IrfanView shows two "DateTimeOriginal" fields - mine has a "Date Time" and a "DateTimeOriginal" plus the DateTimeDigitized.
There's nothing interesting here. It's just that the author didn't think about how to distinguish Exif.Photo.DateTimeOriginal and Exif.Image.DateTimeOriginal. That's all. See the previous screenshot.petermad wrote: 2023-02-01, 22:28 UTC Interesting that your IrfanView shows two "DateTimeOriginal" fields - mine has a "Date Time" and a "DateTimeOriginal" plus the DateTimeDigitized.
DateTaken is quite a canonical name, and DateTimeOriginal is an short for the actual name of the Exif tag. I pointed out their equivalence above:petermad wrote: 2023-02-01, 22:28 UTCApart from that - XnView shows "Date taken" instead of "DateTimeOriginal" - so that proves the point that different software use different names for the same EXIF tag.
There is no point in discussing them. My question was only about the requested DateAcquired.
It's not about what they do or not, but how it can be used by the user given the presence, absence or potential change. The dates of creation, writing and access also coincide when photographing. It doesn't mean anything.petermad wrote: 2023-02-01, 22:28 UTCthough they are different tags and can be set to different values with for example the jgp-commnet plugin, it doesn't seem that the camera manufactureres really make a distinction here
This is possible, but requires confirmation from the author of the topic. I doubt it yet.petermad wrote: 2023-02-01, 22:28 UTCMaybe "Date Acquired" is a translation which really covers the DateTimeOriginal tag.
No, I didn't provide a screenshot, but I did provide a way how to check it by yourself.Fla$her wrote: 2023-02-01, 19:51 UTCMy statement is supported by a screenshot, but yours is unfounded so far. Attach a screenshot of the program you are using, which shows Data Acquired as a DateTimeOriginal and provide a link to the file for reconciliation.solid wrote: 2023-02-01, 10:26 UTCAnd that is possible to do, both ways I suggested to him, contrary to your claim.
I've seen EXIF's Date.original interpreted as Date acquired, even when the jpg didn't have Xmp profile.
If the author departs from canonical names in this way, then this is not good. But I'm still curious.
I don't see any point in taking additional photos. And to believe that a person who understands the subtleties of meta tags uses only one program is at least strange. Do you need a list of all the graphics programs that I use? I think it's unnecessary.solid wrote: 2023-02-01, 10:26 UTCTake a photo with camera or phone and check the values of the fields, not the names. Then check with some other software, you'll see the same values, but names may be different. But if you always check with the same program, of course that you'll get the same result (names).
It doesn't matter what you seen. It is important that these are different meta tags, and I have clearly demonstrated this to you. This is how, for example, it looks in IrfanView and XnView.solid wrote: 2023-02-01, 10:26 UTCWhat I haven't seen yet are different values for Date.original and Date.digitized on original camera photos, although they are different fields in the specs.
About OP's issue, I think he already solved it and we won't hear from him again. I also believe that he used the term acquired for the date the photo was taken, not for exact metadata field.petermad wrote: 2023-02-01, 22:28 UTC So the question is which one of the tags chiara.codagnone really wanted to set - since the tag OP mentiones is "Date Acquired" which is clearly not an EXIF tag. Maybe "Date Acquired" is a translation which really covers the DateTimeOriginal tag.
SHE, HER. As far as I know Chiara is an Italian female name.