Skip to content

Instantly share code, notes, and snippets.

View bnurbekov's full-sized avatar
💭
I may be slow to respond.

Batyrlan Nurbekov bnurbekov

💭
I may be slow to respond.
  • TensorBox
  • San Francisco
View GitHub Profile
@bnurbekov
bnurbekov / pdftitle.py
Created January 15, 2017 18:19 — forked from hanjianwei/pdftitle.py
Extract title from pdf file.
#!/usr/bin/env python
"""
Extract title from PDF file.
Depends on: pyPDF, PDFMiner.
Usage:
find . -name "*.pdf" | xargs -I{} pdftitle -d tmp --rename {}