PDF Tools

Find Text

Find text (for example, "Important") in pdf-files recursively and show page number:

$ pdfgrep -n -r --include "*.pdf" "Important"


Merge three pdf files together:

$ pdftk file1.pdf file2.pdf file3.pdf cat output newfile.pdf

Combine selected pages of two pdf files into a new document:

$ pdftk A=file1.pdf B=file2.pdf cat A1-3 B1-5 A4 output newfile.pdf

Compare two PDF files

diffpdf compares two PDF files textually or visually.

$ diffpdf file1.pdf file2.pdf

PDF Meta Tags

exiftool can list and edit meta information. To view the tags:

$ exiftool file.pdf

To change the title:

$ exiftool -Title="Title of PDF Document"

The writable tags are Author, Creator, Keywords ("keyword1;keyword2"), Producer, Subject and Title [PDF Tags - exiftool.org].

PDF Editors

«Master PDF Editor is a proprietary application to edit PDF documents on Linux, Windows and macOS. It can create, edit (insert text or images), annotate, view, encrypt, and sign PDF documents. With version 5, Master PDF Editor has removed some features from its free to use version, like editing or adding text, inserting images, and more - when using such tools, the application adds a big watermark to the PDF document unless users buy the full version.» [linuxuprising.com]