
$ exiftool -Author="linuxconfig" document.pdf
To change the metadata for a field, use the following command syntax. To get a specific piece of metadata, such as the author, specify the option in your command:. Viewing PDF metadata using ExitTool command To view all of the metadata for a PDF file, use the exiftool command and specify the name of your PDF document. To install ExifTool on Arch Linux and Manjaro: To install ExifTool on Fedora, CentOS, AlmaLinux, and Red Hat:
$ sudo apt install libimage-exiftool-perl To install ExifTool on Ubuntu, Debian, and Linux Mint: You can use the appropriate command below to install ExifTool with your system’s package manager. How to get and change PDF metadata from command lineĮxifTool is a command like program which can get and change PDF metadata. To remove the metadata, just backspace the contents here and press OK. The new metadata will be written to the PDF file.
If you want to change any of this metadata, just make your edits in this window, then press OK to save it. Viewing PDF metadata in Master PDF Editor Under the Document Info tab, you will see all of the metadata for your PDF file. In Master PDF Editor, navigate to File > Properties. You can see our other tutorial on Master PDF Editor Linux Installation to get the application on your system. One such example is the Master PDF Editor, which is available for free on Linux. How to get and change PDF metadata from GUIĪny PDF editor should have the ability to get and change metadata of the file. $ – requires given linux commands to be executed as a regular non-privileged user # – requires given linux commands to be executed with root privileges either directly as a root user or by use of sudo command Privileged access to your Linux system as root or via the sudo command. Requirements, Conventions or Software Version Used How to get and change PDF metadata in Linux Software Requirements and Linux Command Line Conventions Category How to get and change PDF metadata from command line. How to get and change PDF metadata from GUI. This can be accomplished from both command line and GUI.
In this tutorial, you will see how to get and change PDF metadata on a Linux system. The keywords can also help organize PDF documents by category in case you have a lot of PDF files. This information is embedded into the PDF file itself, and can be retrieved if a user needs to determine who released the document, or wants to see what application was used to create it, etc. PDF metadata contains information like author, subject, creator, producer, and keywords.