mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-21 17:01:44 +03:00
pdftotext: add page
This commit is contained in:
parent
def44ed37f
commit
6559aeeed3
19
pages/common/pdftotext.md
Normal file
19
pages/common/pdftotext.md
Normal file
@ -0,0 +1,19 @@
|
||||
# pdftotext
|
||||
|
||||
> Convert PDF files to plain text format.
|
||||
|
||||
- Convert filename.pdf to plain text and print it to standard output:
|
||||
|
||||
`pdftotext {{filename.pdf}} -`
|
||||
|
||||
- Convert filename.pdf to plain text and save it as filename.txt:
|
||||
|
||||
`pdftotext {{filename.pdf}}`
|
||||
|
||||
- Convert input.pdf to plain text and save it as output.txt:
|
||||
|
||||
`pdftotext {{input.pdf}} {{output.txt}}`
|
||||
|
||||
- Convert pages 2, 3 and 4 of input.pdf to plain text and save them as output.txt:
|
||||
|
||||
`pdftotext -f 2 -l 4 {{input.pdf}} {{output.txt}}`
|
Loading…
Reference in New Issue
Block a user