How to edit pdf metadata from command line?

1

Give exiftool a try, it is available from the package libimage-exiftool-perl in the repositories.

As an example, If you have a pdf file called drawing.pdf and you want to update its metadata, Use the utility, exiftool, in this way:

exiftool -Title="This is the Title" -Author="Happy Man" -Subject="PDF Metadata" drawing.pdf

For some reason the Subject entered ends up in the keywords field of the metadata in the pdf file. not a problem in some cases, even desirable, however, this may be problematic, evince and the nautilus metadata previewer do not show this but Adobe Acrobat viewer and PDF-XChange viewer does.

The program will create a backup of the original file if you do not use the; -overwrite_original switch, this means a duplicate will exist in the folder where the updated pdf is. From example above; a file named ; drawing.pdf_original will be created.

use the overwrite switch at your own risk, my suggestion is not to use it and script something to...

0 0
2

Thank You, for giving your feedback for this Ad

Uninteresting
Irrelevant
Misleading
Offensive
Repetitive
OTHER

Typical digital images or photos have a rich set of metadata embedded in them. The metadata is automatically written by digital cameras, or manually added by photographers or photo editing software, to show various properties (e.g., creator, camera info, location) of a particular picture. Pdf documents also have its own set of metadata associated with them to identify author, title, date, etc.

There are various tools that allow you to edit the metadata in digital photos or pdf documents. ExifTool is a powerful command-line utility that can read or write meta information in a file. It is available on Linux, Windows or MacOS X.

In this tutorial, I will describe how to view or edit metadata in pdf documents or digital pictures from the command line on Linux with ExifTool.

ExifTool requires Perl 5.004 or...

0 0
3

I need a command line tool for editing metadata of pdf-files.

I'm using a Aiptek MyNote Premium tablet for writing my notes and minutes on this device, import them later and convert them to pdf automatically with a simple script using inkscape and ghostscript.

Is there any command line tool to add some categories to the pdf's metadata, so i can find the pdf later (e.g. with gnome-do) by categories?

Update: I tried the solution with pdftk and it works, but it seems that gnome-do doesn't take care of pdf-metadata. Is there a way to get gnome-do to do that?

Give exiftool a try, it is available from the package libimage-exiftool-perl in the repositories.

As an example, If you have a pdf file called drawing.pdf and you want to update its metadata, Use the utility, exiftool, in this way:

exiftool -Title="This is the Title" -Author="Happy Man" -Subject="PDF Metadata" drawing.pdf

For some reason the Subject entered ends up in the keywords field of...

0 0
4

I hate being disagreeable on such a day as this, but I have to say it. I disagree with kurt188 in the strongest possible terms.

(1) Of course PDF metadata is easily editable. (I use "PDF metadata" in the same sense as hotwheels 22, which is the common usage. Whether it is also the correct usage is a different matter.) Maybe it wasn't intended to be editable originally, I don't know; but the point is moot anyway, as Adobe, originator of PDF, has been for some time providing this capability with Adobe Acrobat (not the free Acrobat Reader, though). (The exception is the password-protected PDF, which is supposed not to be editable. The stress is on "supposed" -- and that's all this forum's terms of use allow me to say.)

(2) Using BBEdit or another text editor to edit PDF metadata is a seriously bad idea. That's because (by contrast with, for instance, HTML) PDF is not "text under the hood". If one thinks one really knows the PDF format (which is what I suppose kurt188...

0 0
5

Most applications on computers and portable devices add some type of personal information to documents and images upon creation or modification. This is what is usually referred to as metadata. Images and documents in formats such as PDF format usually include information that may include your name, email, address, and the subject, creation and modification date of the said file. What to do if you want to edit PDF metadata? Here introduce the best PDF metadata editor - PDFelement for you to edit PDF metadata or properties.

The tool you use to edit PDF metadata comes down to personal preference. PDFelement is a free PDF metadata editor and viewer that can be used to manage your PDF metadata and a whole lot of other things. It features a simple design, a user-friendly interface, and functional features that are easily accessible by non-techies.

PDFelement is an application that is chiefly used to edit PDF documents, just the way you would with Adobe® Acrobat®....

0 0
6

How to edit PDF metadata

To edit PDF metadata online with the help of PDF Candy, start with uploading of the file for posterior processing: “Add file” button will let you upload the file from your device; alternatively you may use the drag and drop mechanism for that. Add the new metadata values, press the “Apply changes” button and download the new PDF by pressing the “Download PDF” button.

Privacy protected

You may turn to the tools of PDF Candy even when it comes to the need to modify PDF metadata of important and private documents. The uploaded files are only used for their processing by means of the selected tool. You can read more in the Terms of use of the website.

Simple PDF metadata editor / viewer

This tool for editing PDF metadata enables you to view and alter the following metadata values for the uploaded PDF: Author, Title, Subject, Keywords, Creatied on and Modified on. Simply type in the new data into the corresponding...

0 0
7

The term metadata literally means ‘data about data’. Metadata provide additional information about a certain file, such as its author, creation data, possible copyright restrictions or the application used to create the file. The way metadata can be used in PDF files is described on this page. The content is geared towards the graphic arts industry but may be practical for other types of PDF usage as well. It covers:

How to view the metadata in a PDF file

To view metadata in a PDF document, open it with Adobe Reader or Adobe Acrobat and select ‘Properties’ in the File menu. The screen capture below shows the Additional Metadata window in Adobe Acrobat DC. Adobe Reader does not have this additional window.

Applications geared towards managing libraries of data can show metadata. Adobe Bridge, for example, allows you to browse through folders containing PDF files and check basic metadata such as the author, description, and copyright of PDF files....

0 0
8

The metadata on a PDF file plays an important role in showing information such as when the file was created, the related authors, the subject of the PDF file, the software that was used to make it and the permissions that the original author had given it. Now, you may want to edit your PDF document, but remove the metadata from the file. You can do this so you may add your own new metadata and then you edit the file to make it a new piece of work. Normally, people will go to Adobe Acrobat Pro in order to remove metadata from PDF, but there are new tools that can also do the same.

Part 1. The Best Adobe Acrobat Alternative

In order to effectively remove metadata from a PDF file, you need a PDF metadata editor that will display all metadata on the file, allowing you to delete anything that you do not need. iSkysoft PDF Editor 6 Professional for Mac (or iSkysoft PDF Editor 6 Professional for Windows) is the tool that you can rely on to help you remove metadata...

0 0
9

A high-quality publication not only has good content, but also takes care of the tiny details. In an earlier blog post we looked at how to embed fonts in a PDF, today we look at PDF metadata which specifies properties such as the author, the title, a subject, and keywords. Setting the PDF metadata correctly will make it easier for search engines to find and correctly advertise your work, so spending a few minutes on setting the metadata correctly is time well spent.

If you use WYSIWYG editors such as LibreOffice or OpenOffice, you will find a suitable properties-dialog somewhere; good luck! However, if you share my preference for a document markup language such as LaTeX, you need to specify these metadata right in the sources, or add them to a PDF later. I summarize five ways of achieving the same in the following. Feel free to download the sources for adding metadata to PDFs generated with LaTeX and try them out.

PDF Metadata with hyperref in LaTeX

A...

0 0
10

In a previous post, I tried to find a metadata editor with a graphical user interface on Linux. The best solution, DigiKam, is designed for KDE. The second best option, XnView, is perfectible and not free software.

As a Linux Mint (Cinnamon) user, I ended up thinking that it would be better to use a command line tool for my simple metadata editing needs. Of the two available command line tools, Exiv2 and ExifTool. I chose ExifTool, which can be installed through the Software Center / Synaptic / Package manager or via the command line:

sudo apt-get install libimage-exiftool-perl

1. Display metadata information

Nothing easier: ExifTool can display image metadata information of a single file:

exiftool "file name.extension"

To display metadata info of all files in a directory, use a dot ‘.‘ as in the following example (the output can be quite long):

exiftool .

ExifTool displaying image metadata

Metadata information can...

0 0
11

The PDF file format was originally created by Adobe in the early ’90s and it now the most popular format for exchanging all sorts of documents including presentations, CAD Drawings, invoices, government forms and other legal documents.

There are several reasons why PDF file format is so popular. PDFs are generally more compact (smaller in size) than the source document and they preserve the original formatting. The content of a PDF file cannot be modified easily and you can prevent other users from printing or copying text from PDF documents. Also, you can open a PDF file on any computer or mobile device natively.

Free PDF Editing Tools

While PDF Files are “read only” by default, there are workarounds that will let you modify any PDF document for free without requiring the source files or any of the commercial PDF editing tools like Adobe Acrobat.

We are primarily focusing on tools that let you alter the actual contents of a PDF files. If you are...

0 0
12

How to Use

How to select PDF documents to be changed

At first, you have to specify which PDF Documents you to set their Metadata.

This can be done easily in many ways. Press the "Add File" button to add select one or more PDF Documents, or press the "Add Folder" button to select an entire Folder and add all the PDF Documents that are in this folder.

Alternatively, you can simply right click on the PDF Documents in Windows Explorer and select "Change PDF Properties" from the context menu. In order to do this, you should have checked the option "Integrate with Windows Explorer" during the installation. Another easy way to add PDF Documents is to drag and drop them on the application window.

How to set the desired values of the PDF metadata

After having selected for which PDF Documents you want to set their metadata, you have to enter the metadata values.

Check which metadata values you want to be changed and then enter the value in the...

0 0
13

Document metadata is important for holding standard document information, categorizing PDFs, and making them searchable.

Level: Intermediate
Scope: Acrobat 7 and Later
Prerequisites: Familiarity with Acrobat and Acrobat JavaScript

Document Metadata is important for holding standard document information, categorizing PDFs, and making them searchable. Metadata is particularly important, if not critical, in systems that handle a large number of documents. For example, search engines like Google use PDF metadata for searching documents and displaying the results. Opening and searching the entire contents of a file is prohibitively time consuming, whereas the metadata contains key information about the file and can be accessed quickly.

Metadata information includes the document title, author, keywords, a copyright notice, and any other information the document authors feel is important. Unfortunately, applying metadata manually is time consuming, tedious...

0 0
14

Advanced Reliable Software, Inc. Shareware

Automates the task of merging multiple PDF files into one PDF document.

Advanced Reliable Software, Inc. 2 Shareware

Automates extraction of specific pages or page ranges from PDF documents.

VERTX Systems 5 Shareware

Merge pdf files into a single file and automate processing.

Advanced Reliable Software, Inc. Shareware

Automates stamping of PDF documents with single-line or multiple-line verbiage.

4 Ivan Zahariev 421 Freeware

command line Add-On.

1 Koma-Code 46 Freeware

Command Line will let you launch programs just by entering a command.

2 A-PDF 846 Shareware

A-PDF Word to PDF allows you to easily convert text documents to PDF files.

1 A-PDF.com ...

0 0
15

Bethea, Allen. "How to Open a PDF File From the Command Line in Ubuntu." Small Business - Chron.com, http://smallbusiness.chron.com/open-pdf-file-command-line-ubuntu-56801.html. Accessed 31 March 2018.

Bethea, Allen. (n.d.). How to Open a PDF File From the Command Line in Ubuntu. Small Business - Chron.com. Retrieved from http://smallbusiness.chron.com/open-pdf-file-command-line-ubuntu-56801.html

Bethea, Allen. "How to Open a PDF File From the Command Line in Ubuntu" accessed March 31, 2018. http://smallbusiness.chron.com/open-pdf-file-command-line-ubuntu-56801.html

Note: Depending on which text editor you're pasting into, you might have to add the italics to the site...

0 0
16
...
0 0
17

MetaClean Command Line is a powerful tool to add, edit, remove, export and view metadata from Microsoft Office (Word, Excel, PowerPoint and Visio), Open/Libre Office (word processors, spreadsheets and presentations), PDF and Multimedia files (Image, Audio and Video).

This tool can be operated from command line, enabling it to be invoked from a script for automatic hidden data removal (Scheduled Task).

MetaClean has been tested in the Softpedia labs using several industry-leading security solutions and found to be completely clean of adware/spyware/viruses components.

Compatible with the following platforms: Microsoft Windows, Linux, Unix and Mac OS X. Monitors local directories or network shares in order to automatically add or remove metadata from documents: This tool is able to detect in real time what is happening to the relevant directory on the file system. If a directory is being monitored, this tool will detect documents that have been changed or added...
0 0
18

Typical digital images or photos have a rich set of metadata embedded in them. The metadata is automatically written by digital cameras, or manually added by photographers or photo editing software, to show various properties (e.g., creator, camera info, location) of a particular picture. Pdf documents also have its own set of metadata associated with them to identify author, title, date, etc.

There are various tools that allow you to edit the metadata in digital photos or pdf documents. ExifTool is a powerful command-line utility that can read or write meta information in a file. It is available on Linux, Windows or MacOS X.

In this tutorial, I will describe how to view or edit metadata in pdf documents or digital pictures from the command line on Linux with ExifTool.

Install ExifTool on Linux

ExifTool requires Perl 5.004 or later. No other library or software is required.

To install ExifTool on Debian, Ubuntu or Linux Mint:

$ sudo...

0 0
19

What is this?

PDF Metadata Editor is a simple tool you can use to edit the metadata (Author, Keywors, etc.) of a PDF document.

The tools is written in Java so you need a to have Java 8 installed in order to run it. Older Java versions might work but I haven’t tested.

Features

Support Basic, XMP Pdf, XMP Dublin Core and XMP Rights metadata Unicode support, can use all languages and encodings Default values to pre-fill if not set in the PDF file Rename file on Save using predefined template Copy XMP to Document metadata or vice versa on Save Batch clear, edit and rename metadata (requires license) Command line edit, clear and rename (requires license) Export metadata to JSON or YAML (requires license)

Screencast

Editing pdf metadata:

Batch clear and edit:

And few screenshots:

Download

Installer for Windows and Linux. You need to to have Java already installed to run it.

Mac OS X...

0 0
20

Imagine the following situation: you are preparing the documents, let’s say, to get a visa. It seems that everything is ready and you only need to send the dossier to the embassy. Suddenly the dog outside barks and you let a cup of coffee go of your hands. It falls right on your documents. Your disappointment has no limits. However, if you are reading this article, you are closer to the way out than you think. Fortunately, you have a chance to breathe a new life into every single form that you have spoiled.

You may think that we offer you to download and print all documents again and do the same job twice. No. Use our program to edit a PDF visa application online. Save every minute of your time left for filing the application. Do not worry about the quality. On our site you will find any editable form in PDF format you need. The compatibility with Windows, Mac and Linux allows you to modify PDF files no matter what OS you have. Moreover, we...

0 0