Sign inSign up

bwits/pdf2txt

By bwits

Updated almost 9 years ago

Convert PDF to plain text file

Image
1

3.3K

bwits/pdf2txt repository overview

convert pdf to plain text file

1, Suppose you have a pdf file named sample.pdf in ~/app folder.

$ docker pull bwits/pdf2txt
$ alias pdf2txt="docker run -ti --rm -v ~/app:/app pdf2txt"
$ pdf2txt sample.pdf > sample.txt

You will get the txt file named sample.txt in current folder.

2, You can directly run below command to convert the pdf file in current foler.

$ docker run -ti --rm -v $(pwd):/app pdf2txt sample.pdf > sample.txt

You will get the txt file named sample.txt in your current folder.

Tag summary

Content type

Image

Digest

sha256:50811f02e

Size

13.5 MB

Last updated

almost 9 years ago

docker pull bwits/pdf2txt