Hello,
Can you provide an example of batch load and save metadata XML file format into PDF file?
Thank you.
Customer
------------------------------------------------
Thanks for your message, please look at following web page, you can use Advanced PDF Tools GUI or Advanced PDF Tools Command Line to add metadata into PDF files easily,
https://www.verypdf.com/pdfinfoeditor/custom-properties.htm
Advanced PDF Tools command line
You can use Advanced PDF Tools command line to add the information. The option "-y" is to append information to PDF file.
There are several ways to add new information like follows:
Add new custom Properties to an existing PDF file and overwrite original custom Properties,
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "key1=value1,key2=value2"
or
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "/key1(value1) /key2(value2)"
Append new custom Properties to an existing PDF file,
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+key1=value1,key2=value2"
or
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+/key1(value1) /key2(value2)"
e.g.
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "Our Company=VeryPDF Company, Support Email=support@verypdf.com, Our Web URL=https://www.verypdf.com"
or
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "/Our#20Company(VeryPDF Company) /Support#20Email(support@verypdf.com) /Our#20Web#20URL(https://www.verypdf.com)"
or
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y "+/Our#20Company(VeryPDF Company) /Support#20Email(support@verypdf.com) /Our#20Web#20URL(https://www.verypdf.com)"
The custom properties can be cleared by following command line,
pdftools -i "C:\input.pdf" -o "C:\output.pdf" -y " "
VeryPDF