Search EriCloud

Friday, September 9, 2011

pdftotext: Linux / UNIX Convert a PDF File To Text Format

While developing EriCloud Educational, particularly the E-Learning system I found out the system requires PDF files to be converted to text. I was not able to get a suitable package to do it.
It was just before I was to quite it that I have found this.

Pdftotext is installed part of a package or utility called as poppler-utils. so to install pdftotext in a linux system in my case ubuntu just run this command and you are done.

$Sudo apt-get install poppler-utils.

To use the utility:
$sudo pdftotext {PDF-file} {text-file}

that is it

No comments:

Post a Comment