PDF file format supports a feature that retains the property descriptions of PDF. The author of a PDF file can set his name as PDF title property to his PDF, and set other describing information to it. PDF Description Editor Command Line is a useful tool for adding descriptions to PDF by command line.
PDF Description Editor Command Line supports Windows, Mac OS and Linux operating systems by three different versions. The three version applications have the same usage rule and options, so it is easy to use other two version applications after you have known how to use one.
In this article, the author shows how to edit PDF description by commands in Mac OS with the Mac OS version application. Download the disk image of PDF Description Editor Command Line to your Mac OS and then mount or unpack the DMG image file. The executable file is put in directory bin.
A basic rule of using the application is
pdftoolbox <input files> [options] <-outfile output>
You have to put input PDF files in string field input, specify output file in field output after option -outfile, and specify other function options in fields options.
Here is a practical example of editing PDF descriptions with PDF Description Editor Command Line.
Firstly, you have to make a textual file saved as, for example, info.txt for storing the descriptions of PDF. You can get an example file in the application directory (which is named info-sample.txt). Or you can use the function of PDF Description Exporter Command Line to get one text file.
Use the following command and option -setinfo to set description information saved in info.txt to PDF file noinfo.pdf and save the new PDF as infoed.pdf.
pdftoolbox nofo.pdf -setinfo info.txt -outfile infoed.pdf
There are more supported options of PDF Description Editor Command Line. You can learn them in sub directory named test. You will find that this application is only a PDF description editor.
Click the link to see
Features of PDF Description Editor Command Line.