tags:

views:

130

answers:

3

I want to write a script to rename downloaded papers with their titles automatically, I'm wondering if there is any library or tricks i can make use of? The PDFs are all generated by TeX and should have some 'formal' structures.

+1  A: 

I would probably start with perl (seeing as it's always the first thing I reach for). There are several modules for handling PDFs. If you have a consistent structure, you could use regex to snag the titles.

moshen
+7  A: 

You could try to use pyPdf and this example.

schnaader
+1  A: 

You can try using iText with Jython

northpole