Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Scriptim/pdf-meta-editor
Interactive cli for changing metadata of pdf files
https://github.com/Scriptim/pdf-meta-editor
cli command-line command-line-interface command-line-tool document exif exif-metadata exiftool interactive interactive-cli meta-data metadata nodejs npm npm-package pdf pdf-document pdf-files pdf-meta-editor tool
Last synced: 3 months ago
JSON representation
Interactive cli for changing metadata of pdf files
- Host: GitHub
- URL: https://github.com/Scriptim/pdf-meta-editor
- Owner: Scriptim
- License: mit
- Created: 2018-07-13T02:28:52.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-02-10T03:57:37.000Z (almost 2 years ago)
- Last Synced: 2024-10-01T19:07:05.086Z (4 months ago)
- Topics: cli, command-line, command-line-interface, command-line-tool, document, exif, exif-metadata, exiftool, interactive, interactive-cli, meta-data, metadata, nodejs, npm, npm-package, pdf, pdf-document, pdf-files, pdf-meta-editor, tool
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/pdf-meta-editor
- Size: 3.76 MB
- Stars: 22
- Watchers: 3
- Forks: 4
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# pdf-meta-editor
[![version (npm)](https://img.shields.io/npm/v/pdf-meta-editor.svg?style=flat-square)](https://www.npmjs.com/package/pdf-meta-editor)
[![license (GitHub)](https://img.shields.io/github/license/Scriptim/pdf-meta-editor.svg?longCache=true&style=flat-square)](https://github.com/Scriptim/pdf-meta-editor/blob/master/LICENSE.md)
[![downloads (npm)](https://img.shields.io/npm/dt/pdf-meta-editor.svg?style=flat-square)](https://www.npmjs.com/package/pdf-meta-editor)
[![dependencies (libraries.io)](https://img.shields.io/librariesio/release/npm/pdf-meta-editor.svg?style=flat-square)](https://libraries.io/npm/pdf-meta-editor)Interactive cli for changing metadata of pdf files.
![Demo](https://raw.githubusercontent.com/Scriptim/pdf-meta-editor/master/demo.gif "Demo")
## Installation
sudo npm install -g pdf-meta-editor
## Usage
pdf-meta-editor FILENAME
### Command Line Arguments
#### `-h/--help`
Show this help page.
$ pdf-meta-editor --help
pdf-meta-editorUsage: 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.#### `-v/--version`
Print the currently installed version.
#### `-p/--print`
Print the metadata instead of editing it.
##### Example
$ pdf-meta-editor Demo.pdf --print
Printing metadata of file Demo.pdfFileType: 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: NoTitle: 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#### `-o/--overwrite`
Overwrite the original file.
If not specified, the original file is retained by default.