update_info_utf8

Update PDF metadata from dump_data_utf8 instructions

Usage

pdftl <input> update_info_utf8 <metadata> output <filename>

Details

Updates the document-level metadata and structural information of the input PDF by reading from a specified metadata file (or stdin).

This operation is the direct counterpart to dump_data_utf8. It is identical to update_info, except it assumes the input file contains raw UTF-8 strings that have not been XML-escaped.

Use this operation if your metadata source file was created by dump_data_utf8 or if you have manually created a metadata file that contains raw, unescaped UTF-8 characters.

For a complete description of the input format this command expects, see the help for dump_data.

Examples

Update utf-8 metadata according to meta.txt

pdftl in.pdf update_info_utf8 meta.txt output out.pdf

Tags: info, metadata

Source: pdftl.operations.update_info

Read online: https://pdftl.readthedocs.io/en/stable/operations/update_info_utf8.html

Type: Operation