Well, basically the title. What does this means?
Warning: Identifier is not a structure!
I got that when I was using this command (directory contains PDF and JPG files):
exiftool -charset filename=Latin -i SYMLINKS -r "-FileCreateDate<CreateDate" "Y:\pdfs\"
It happened with one PDF file that is located in the root "pdfs" directory, actually I got that message with at least a few of the PDF files. I tried using mutool to see if it reported any problems but it doesn't report any issues with the file.
Also, now that I'm asking this I want to ask what does this means:
[Minor] Ignored duplicate Info dictionary
I see it says minor so I'm supposing is nothing to be concerned about but I would like to know what it means. That message I got also with PDF files performing the same operation as before.
Thanks.
EDIT: Now that I've seen another line I'm thinking that "Identifier" is the name of one tag? I got this with another file too:
Warning: Custom_metadata is not a structure!
I believe that the Ignored duplicate Info dictionary means that there's some duplication in the PDFs Info section (see PDF Metadata (https://en.wikipedia.org/wiki/PDF#Metadata)).
I'm guessing that the other two are also problems with the PDFs metadata section. Basically, it sounds like some program corrupted the PDFs while writing or editing the files.
The "not a structure" warnings are XMP properties that are written incorrectly. The "duplicate dictionary" warning is a PDF format problem.
- Phil
Thank you both for the information.
Another unrelated question. I'm using the same command as before but this time with an ISO file that I see has a "Volume Create Date" and a "Volume Modify Date" metadata but exiftool is not using the "Volume Create Date" when I use
exiftool -charset filename=Latin "-FileCreateDate<CreateDate" "PATH\TO\ISO.iso"
This is the info that exiftool outputs for the ISO file:
File Size : 568 MiB
File Modification Date/Time : 2012:04:04 17:05:12-05:00
File Access Date/Time : 2012:04:04 17:05:12-05:00
File Creation Date/Time : 2012:04:04 17:05:12-05:00
File Permissions : -rw-rw-rw-
File Type : ISO
File Type Extension : iso
MIME Type : application/x-iso9660-image
System : CD-RTOS CD-BRIDGE
Volume Name : Old_Docs
Volume Block Count : 291064
Volume Block Size : 2048
Root Directory Create Date : 2002:02:08 11:29:43+01:00
Software : EASY CD CREATOR 5.0 (314) COPYRIGHT (C) 1999-2001 ROXIO, INC.
Volume Create Date : 2002:02:08 11:29:43.00+12:00
Volume Modify Date : 2002:02:08 11:29:43.00+12:00
Volume Expiration Date : 1601:01:01 01:00:00.00+12:00
Volume Effective Date : 1601:01:01 01:00:00.00+12:00
Volume Size : 568 MiB
Shouldn't exiftool use the "Volume Create Date" when I specify only "CreateDate" in the command?
The command works if I change "CreateDate" to "VolumeCreateDate".
Thank you.
Use the -s option when extracting tags, and use exactly the same names that you see in this output.
If you specify CreateDate, then ExifTool uses CreateDate, nothing else.
- Phil
Thanks, I found something weird and maybe it is the expected behavior but better I inform you about it.
In this PDF file exiftools shows this:
FileModifyDate : 2007:01:02 20:58:08-05:00
FileAccessDate : 2007:01:02 20:58:08-05:00
FileCreateDate : 2007:01:02 20:52:48-05:00
FilePermissions : -rw-rw-rw-
FileType : PDF
FileTypeExtension : pdf
MIMEType : application/pdf
PDFVersion : 1.5
Linearized : No
PageCount : 256
XMPToolkit : XMP toolkit 2.9.1-14, framework 1.6
About : uuid:dbd7c730-9acd-11db-91a4-000d9334834a
ModifyDate : 2007:01:02 17:58:08-08:00
CreateDate : 2007:01:02 17:52:48-08:00
MetadataDate : 2007:01:02 17:58:08-08:00
DocumentID : uuid:1c151448-9acd-11db-91a4-000d9334834a
Format : application/pdf
Creator : Adobe Acrobat 6.02
Producer : Adobe Acrobat 6.02 Image Conversion Plug-in
But the ModifyDate is wrong, if I open the file with PDF-XChange and look at the metadata I see:
xmp:CreateDate: 2007-01-02T20:52:48-05:00
xmp:ModifyDate: 2008-10-23T07:30:24-05:00
Also after using mutool (MuPDF tool) with:
mutool clean -l -gggg %INPUT% %OUTPUT%
(Which applies linearization, garbage collection of unused objects, compact xref table, merging duplicate objects and checking streams for duplication)
And I use exiftool to see the metadata I get this (don't mind the updated File*Date's they have been changed automatically by the script I use):
FileModifyDate : 2008:10:23 07:30:24-05:00
FileAccessDate : 2008:10:23 07:30:24-05:00
FileCreateDate : 2007:01:02 20:52:48-05:00
FilePermissions : -rw-rw-rw-
FileType : PDF
FileTypeExtension : pdf
MIMEType : application/pdf
PDFVersion : 1.5
Linearized : Yes
ModifyDate : 2008:10:23 07:30:24-05:00
CreateDate : 2007:01:02 17:52:48-08:00
Creator : Adobe Acrobat 6.02
Producer : Adobe Acrobat 6.02 Image Conversion Plug-in
PageCount : 256
XMPToolkit : XMP toolkit 2.9.1-14, framework 1.6
About : uuid:dbd7c730-9acd-11db-91a4-000d9334834a
MetadataDate : 2007:01:02 17:58:08-08:00
DocumentID : uuid:1c151448-9acd-11db-91a4-000d9334834a
Format : application/pdf
And now it shows the correct date, so there must be something with the original file, right?
Here I've uploaded the original PDF so you can check it if necessary: https://app.box.com/s/qm2ppvqwgs1odbelic6fncvpqm1cnjye
FAQ #3 (https://exiftool.org/faq.html#Q3) (emphasis mine)
QuoteFirst, make sure you are looking at the right information. Use ExifTool with a command like this to extract all information from the file, along with the location it was written:
exiftool -a -G1 -s c:\images\test.jpg
When you include the
-G (
-groupNames) option (https://exiftool.org/exiftool_pod.html#G-NUM-:NUM...--groupNames) and
-a (
-duplicates) option (https://exiftool.org/exiftool_pod.html#a---a--duplicates---duplicates), you see that there is more than one
ModifyDate tag
C:\>exiftool -G1 -a -s -ModifyDate "Y:\!temp\aaaa\Origami Tanteidan Convention Book - Vol. 12 (1).pdf"
[XMP-xmp] ModifyDate : 2007:01:02 17:58:08-08:00
[PDF] ModifyDate : 2008:10:23 07:30:24-05:00
Without the
-a option, exiftool will display the last
ModifyDate tag found. After you clean it up and re-linearized, it appears the order of tags has changed and exiftool shows the other one.
Thank you. I didn't know there were PDF tags, PDF-XChange only showed me XMP tags for dates. Will start using those params now. Thanks for the info and help!