View Single Post
Old 01-13-2009, 01:13 AM   #2
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by Pulp View Post
I have a bunch of PDF-files sorted into folders like this:
Code:
Christie, Agatha/Agatha Christie - The Secret Adversary.pdf
Christie, Agatha/Agatha Christie - The Mysterious Affair at Styles.pdf
etc.
Trying out calibre I found that in most of the files the meta-information is really bad (the name including author and title, the pdf-creator puting his/her own name in the authors field instead of the real authors name, etc.) and as calibre uses that information the list of books is really useless to find anything at the moment.

What I would need is a piece of software that can go through all my PDFs and update the meta-data using information from the filenames and directories.

Is there anything out there that can do that?
Well yes and no. There is a tool here that is called soPDF. It optimizes a PDF for the SONY Reader by croping the margins, and/or rotating the PDF, while keeping the PDF.

I use the same convention as you and actually parse out the name/title then pass those values into soPDF (so they will show up correctlin in calibre/Sony PRS505.

Let me know if you'ld like the Perl script.

Also the soPDF tool does only works on Windows and does not modify secure PDF.

=X=
=X= is offline   Reply With Quote