Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > PDF

Notices

Reply
 
Thread Tools Search this Thread
Old 01-11-2009, 06:47 AM   #1
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
Question Searching for a way to batch-update PDFs metadata

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?
Pulp is offline   Reply With Quote
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,672
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
Old 01-13-2009, 06:40 AM   #3
Pulp
Palm Addict
Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.Pulp ought to be getting tired of karma fortunes by now.
 
Pulp's Avatar
 
Posts: 477
Karma: 1001951
Join Date: Aug 2008
Device: Cybook Gen3 [512mb, FW: 1.5]
I already made a python-script that generates meta-files for pdftk and runs it on every file, but the problem is that pdftk does not seem to support special characters so it's useless for german books ("äöü").

If there is a simple commandline tool that can update the meta-information i can do the "batch-work" myself now.

PS: I like soPdf, though for other purposes, I'll give it a try to prepare pdfs for reading them directly on my Cybook, thanks!

Update: found a way to include the special characters, now I only have to finish my script

Last edited by Pulp; 01-13-2009 at 07:08 AM.
Pulp is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to batch update PDF metadata/ substitute software for Sony eBook library ksri99 Sony Reader 6 05-20-2012 01:53 PM
Firmware-update switch tool (batch files) T_Frain_K Bookeen 3 01-19-2010 06:21 AM
Metadata and PDFs mdroberts Calibre 0 12-27-2009 06:54 AM
batch metadata editing possible from filenames? caponesan Reading and Management 3 09-03-2009 12:50 PM
lost metadata on pdfs slushie Calibre 15 10-05-2008 12:11 AM


All times are GMT -4. The time now is 01:30 AM.


MobileRead.com is a privately owned, operated and funded community.