user@www$ sudo apt-get install poppler-utilsNow you are ready to convert the pdf files. Convert a file myfile.pdf to myfile.txt:
user@www$ pdftotext myfile.pdf myfile.txtYou can also omit the last parameter:
user@www$ pdftotext myfile.pdfand pdftotext should be smart enough to figure out the new file name is myfile.txt by default. Specifies to convert from page 2 onwards:
user@www$ pdftotext -f 2 myfile.pdfSpecifies to convert up to page 3:
user@www$ pdftotext -l 3 myfile.pdfSet the end of line format to either unix, dos or mac:
user@www$ pdftotext -eol unix myfile.pdfTo see more help for pdftotext:
user@www$ man pdftotext