Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I own a Sony Reader PRS-600 ebook reader. I bought a ton of Manning Publications ebooks (DRM-free) recently. Many of the books are PDFs since not all the ones I wanted are available in epub format.

The problem: Some of the PDF books I purchased have incorrect or missing metadata. Making things worse, the Sony Reader only displays the "Title" from the PDF metadata when displaying book titles in the reader's collection of books! The Reader doesn't display the filename. So, even though I have a PDF informatively named "Windows PowerShell In Action.pdf", it shows up as "untitled" in the Reader.

Imagine how useful the Reader's list of book titles becomes when many are just "untitled" or "unnamed document" ! Yes, it is maddening.

So – short of expecting the publisher to fix the files or Sony to add a filename-based list instead, I'm looking for a way to fix the PDF metadata. I can view the metadata with Adobe Reader, but it doesn't permit modification of the properties. Leading to:

Question: Is there a tool – free, or cheap – and either for PC or Mac, that can modify the properties / metadata of a DRM-free PDF document? I want to correct "Title" and "Author" fields, specifically.

share|improve this question
add comment

5 Answers 5

up vote 2 down vote accepted

YES There is a tool out there that is free. Google the following application name: BeCyPDFMetaEdit. It's free, and very good for the price (nothing !).

share|improve this answer
    
I tried this tool and it did the job. Thanks! –  Chris W. Rea Apr 10 '10 at 19:23
add comment

ExifTool can do this pretty easily. On a Mac, download and install the .pkg. Open Terminal.app and run the following command to set the metadata:

exiftool -Title="Windows PowerShell In Action" "/path/to/Windows PowerShell In Action.pdf"
share|improve this answer
    
I tried but got: Error renaming WindowsPowerShellInAction.pdf –  Chris W. Rea Apr 10 '10 at 19:17
add comment

I got the same issue when I loaded some PDF files on my Nook. I wrote a blog on this one:

http://www.barcodeschool.com/2010/09/publishers-fix-the-metadata-in-the-pdf-file/

share|improve this answer
    
the trial version works fine to do this? –  JuanZe Aug 5 '11 at 15:12
add comment

To programmatically change the metadata of a PDF you could use ABCpdf from webSupergoo. The following example shows how to set the Title and Author fields using C#:

Doc theDoc = new Doc();
theDoc.Read(Server.MapPath("../mypics/sample.pdf"));
if (theDoc.GetInfo(-1, "/Info") == "")
  theDoc.SetInfo(-1, "/Info:Ref", theDoc.AddObject("<< >>").ToString());
theDoc.SetInfo(-1, "/Info*/Author:Text", "Arthur Dent");
theDoc.SetInfo(-1, "/Info*/Title:Text", "Musings on Life");
theDoc.SetInfo(theDoc.Root, "/Metadata:Del", "");
theDoc.Save(Server.MapPath("docaddobject.pdf"));
theDoc.Clear();

Source: http://www.websupergoo.com/helppdf7net/source/5-abcpdf6/doc/1-methods/addobject.htm

share|improve this answer
add comment

Calling file1.bat will update all pdf documents in "\Path\Documents" (change as needed) by overriding the "title" property with the file name (without .pdf) and the "author" with an empty string.

For more details see ExifTool

file1.bat

@echo off
cls
for /r "\Path\Documents" %%x in (*.pdf) do call "file2.bat" "%%x"

file2.bat

@echo off
"exiftool.exe" -overwrite_original -Title="%~n1" -Author="" %1
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.