mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-01 11:17:56 +01:00
commit
b48c6b94f5
1 changed files with 27 additions and 0 deletions
27
pages/common/tabula.md
Normal file
27
pages/common/tabula.md
Normal file
|
@ -0,0 +1,27 @@
|
|||
# tabula
|
||||
|
||||
> Extract tables from PDF files.
|
||||
|
||||
- Extract all tables from a PDF to a CSV file:
|
||||
|
||||
`tabula -o {{file.csv}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF to a JSON file:
|
||||
|
||||
`tabula --format JSON -o {{file.json}} {{file.pdf}}`
|
||||
|
||||
- Extract tables from pages 1, 2, 3, and 6 of a PDF:
|
||||
|
||||
`tabula --pages {{1-3,6}} {{file.pdf}}`
|
||||
|
||||
- Extract tables from page 1 of a PDF, guessing which portion of the page to examine:
|
||||
|
||||
`tabula --guess --pages {{1}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using ruling lines to determine cell boundaries:
|
||||
|
||||
`tabula --spreadsheet {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using blank space to determine cell boundaries:
|
||||
|
||||
`tabula --no-spreadsheet {{file.pdf}}`
|
Loading…
Reference in a new issue