Hello Phil
It seems to take a second attempt to get exiftool -xmp:About="xxxxx" to stick.
The PDF file itself is an export from Inkscape using a relatively simple illustration and opting to embed the fonts.
Here goes (and TIA, Robbie):
$ exiftool -duplicates -groupHeadings 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
---- ExifTool ----
ExifTool Version Number : 10.48
---- File ----
File Name : 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
Directory : .
File Size : 41 kB
File Modification Date/Time : 2017:04:06 01:54:31+02:00
File Access Date/Time : 2017:04:06 01:54:31+02:00
File Inode Change Date/Time : 2017:04:06 01:54:31+02:00
File Permissions : rw-r-----
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
---- PDF ----
PDF Version : 1.5
Linearized : No
Page Count : 1
Creator : cairo 1.14.6 (http://cairographics.org)
Producer : cairo 1.14.6 (http://cairographics.org)
$ exiftool -v5 -author="yyyyy" -xmp:About="xxxxx" 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf # first time
Writing PDF:Author if tag exists
Writing PostScript:Author
Writing PNG:Author
Writing MIE-Doc:Author
Writing XMP-xmp:Author if tag exists
Writing XMP-acdsee:Author if tag exists
Writing XMP-pdf:Author
Writing XMP-rdf:About
======== 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
Rewriting 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf...
Editing tags in: MIE-Doc PDF PNG PostScript XMP
Creating tags in: PDF XMP
+ PDF:Author = 'yyyyy'
Creating XMP
+ XMP-pdf:Author = 'yyyyy'
1 image files updated
$ exiftool -duplicates -groupHeadings 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
---- ExifTool ----
ExifTool Version Number : 10.48
---- File ----
File Name : 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
Directory : .
File Size : 44 kB
File Modification Date/Time : 2017:04:06 01:55:51+02:00
File Access Date/Time : 2017:04:06 01:55:51+02:00
File Inode Change Date/Time : 2017:04:06 01:55:51+02:00
File Permissions : rw-r-----
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
---- PDF ----
PDF Version : 1.5
Linearized : No
Page Count : 1
Creator : cairo 1.14.6 (http://cairographics.org)
Producer : cairo 1.14.6 (http://cairographics.org)
Author : yyyyy
---- XMP ----
XMP Toolkit : Image::ExifTool 10.48
Author : yyyyy
$ exiftool -v5 -author="yyyyy" -xmp:About="xxxxx" 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf # second time
Writing PNG:Author
Writing PDF:Author if tag exists
Writing MIE-Doc:Author
Writing PostScript:Author
Writing XMP-pdf:Author
Writing XMP-acdsee:Author if tag exists
Writing XMP-xmp:Author if tag exists
Writing XMP-rdf:About
======== 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
Rewriting 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf...
Editing tags in: MIE-Doc PDF PNG PostScript XMP
Creating tags in: PDF XMP
- PDF:Author = 'yyyyy'
+ PDF:Author = 'yyyyy'
Rewriting XMP
- XMP-rdf:About = ''
+ XMP-rdf:About = 'xxxxx'
- XMP-pdf:Author = 'yyyyy'
+ XMP-pdf:Author = 'yyyyy'
1 image files updated
$ exiftool -duplicates -groupHeadings 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
---- ExifTool ----
ExifTool Version Number : 10.48
---- File ----
File Name : 2017-ccl-d-flier-climate-dividend-cycle.en.02a.pdf
Directory : .
File Size : 44 kB
File Modification Date/Time : 2017:04:06 01:56:32+02:00
File Access Date/Time : 2017:04:06 01:56:32+02:00
File Inode Change Date/Time : 2017:04:06 01:56:32+02:00
File Permissions : rw-r-----
File Type : PDF
File Type Extension : pdf
MIME Type : application/pdf
---- PDF ----
PDF Version : 1.5
Linearized : No
Page Count : 1
Creator : cairo 1.14.6 (http://cairographics.org)
Producer : cairo 1.14.6 (http://cairographics.org)
Author : yyyyy
---- XMP ----
XMP Toolkit : Image::ExifTool 10.48
About : xxxxx
Author : yyyyy
Hi Robbie,
Good point, thanks. Writing XMP:About didn't work when creating new XMP in PDF files. This will be fixed in ExifTool 10.49.
Thanks for this report!
- Phil
Edit: Note that just writing XMP:About without any other tags still won't do anything if XMP didn't already exist because there must be something to be about.
Hello Phil
Fantastic service.
many thanks and best wishes, Robbie
Hello Phil
This problem is indeed fixed in 10.49.
many thanks, Robbie
Hi Robbie,
Great! Thanks for the confirmation.
- Phil