Interactive cli for changing metadata of pdf files.
https://www.npmjs.com/package/pdf-meta-editor
sudo npm install -g pdf-meta-editor
pdf-meta-editor FILENAME
Show this help page.
$ pdf-meta-editor --help
pdf-meta-editor
Usage: pdf-meta-editor FILENAME [-p|-o]
pdf-meta-editor (-h|-v)
options
-h --help Show this help page.
-v --version Print the currently installed version.
-p --print Print the metadata instead of editing it.
-o --overwrite Overwrite the original file.
Print the currently installed version.
Print the metadata instead of editing it.
$ pdf-meta-editor Demo.pdf --print
Printing metadata of file Demo.pdf
FileType: PDF
FileSize: 5.7 kB
FileModifyDate: 2018:07:13 00:00:00+00:00
FileAccessDate: 2018:07:13 12:00:00+00:00
FilePermissions: rw-r--r--
PDFVersion: 1.3
PageCount: 1
Linearized: No
Title: Demo Title
Author: Demo Author
Subject: Demo Subject
CreateDate: 2018:07:13 00:00:00
FileModifyDate: 2018:07:13 00:00:00+00:00
Creator: Demo Creator
Producer: Demo Producer
Keywords: demo,pdf,file
Overwrite the original file.
If not specified, the original file is retained by default.