A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/Glutanimate/PDFMtEd below:

glutanimate/PDFMtEd: View and modify PDF metadata on Linux graphically

PDFMtEd (PDF Metadata Editor) is a set of tools designed to simplify working with PDF metadata on Linux. The utilities hosted in this repository are graphical front-ends to the marvelous ExifTool by Phil Harvey.

Overview

PDFMtEd Editor is an easy-to-use graphical metadata editor that supports viewing and modifying all major metadata fields found in PDF documents.

Screenshot

Features:

Overview

PDFMtEd Inspector is a general purpose metadata viewer and cleaner. Aside from granting a quick and easy insight into the meta information stored in your files, it also allows you to quickly and effectively purge all metadata.

While it can handle all file formats supported by exiftool, PDFMtEd Inspector was primarily designed with PDF files in mind.

Screenshot

Features:

Overview

PDFMtEd Thumbnailer provides the thumbnail previews for the utilities hosted in this repository. It also acts as a general purpose thumbnailing script that can recursively generate thumbnails for one or more directories.

PDFMtEd Thumbnailer should be able to generate thumbnails for all file types supported by Nautilus/GNOME's thumbnailing back-end.

Note: pdfmted-thumbnailer was written by James Henstridge as part of an AskUbuntu Q&A.

Installation and dependencies

The following instructions are provided for most Linux distributions.

Optional but recommended: sejda-console

Install all dependencies on Ubuntu with the following commands:

sudo add-apt-repository ppa:webupd8team/y-ppa-manager
sudo apt-get update
sudo apt-get install yad libimage-exiftool-perl qpdf
Most other Linux distribution based on Debian or Ubuntu
sudo apt install libimage-exiftool-perl yad qpdf
Fedora and most other Linux distribution based on Fedora
sudo dnf install perl-Image-ExifTool yad qpdf
sudo pacman -S perl-image-exiftool yad qpdf

Required:

Recommended:

  1. Install all dependencies

  2. Clone this repository or download the latest zipfile and extract it

  3. cd to the cloned/extracted directory, e.g.:

  4. Run the provided installer:

    (If your file manager supports custom scripts you can just copy the PDFMtEd folder to the default scripts path instead (instructions for Nautilus))

After the installation PDFMtEd Editor and Inspector should be available as entries in the Open with context menu:

If you can't find the entries click on Other application (arrow) and navigate to Show other applications. You should be able to find the PDFMtEd launchers in the list. Double-click on PDFMtEd Inspector to open the application. This will automatically add a context menu entry. Repeat the procedure for PDFMtEd Editor and you are set.

Follow these steps to uninstall the PDFMted utilities:

  1. cd to the project directory, e.g.:

  2. Run uninstall.sh as root:

  1. Use your file manager to select one or more files/directories
  2. Choose the utility you want to launch from the Open with context menu

Important note: All changes introduced by ExifTool, and in turn PDFMtEd Editor, are potentially reversible, which might be a security issue under some circumstances.

PDFMtEd Inspector (not the Editor!) works around this by using qpdf to purge PDF files of all existing metadata (further reading: Purging metadata).

Here are some helpful pointers:

There are a couple of command-line switches that might be interesting:

The UI should be self-explanatory.

Call pdfmted-thumbnailer from the command-line to generate thumbnails:

pdfmted-thumbnailer <file(s) or folder(s)>

E.g.:

pdfmted-thumbnailer "file.pdf" "/home/user/Documents" "file2.pdf"

This would generate thumbnails for file.pdf, file2.pdf, and all compatible files found under /home/user/Documents and all of its sub-folders.

PDF documents use a variety of different metadata formats to store meta information.

The oldest and most common tag system is the PDF Info dictionary. This is the metadata system CLI tools like pdfinfo or the Properties dialog of various GNOME applications parse.

PDF editors like Adobe Acrobat additionally use the more recent XMP metadata format.

To avert confusion and ensure consistency across different PDF handlers it is important to keep these two metadata systems synchronized. That's why each field in PDFMtEd Editor's user interface controls two separate metadata tags:

UI field PDF Info dictionary entry corresponding XMP Dublin Core namespace tag Author Author Creator Title Title Title Year CreateDate Date Keywords Keywords Subject Subject Subject Description

Removing PDF metadata is not as straightforward as you might think. As stated before, exiftool operations are reversible, so removing all PDF tags with exiftool -all:all="" is no good on its own.

Only by rebuilding the PDF file (e.g. with qpdf) we can ensure that all orphan data is purged irreversibly.

Note: This method does not remove metadata included in embedded objects (e.g. images, vector graphics). To see if your file contains any residual metadata entries you could use a tool like strings that can look for printable strings in binary data such as PDF files.

PDFMtEd copyright 2014 Glutanimate

PDFMtEd is licensed under the GNU GPLv3.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4