mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-17 21:00:51 +00:00
Update cheatsheets
This commit is contained in:
14
tldr/tabula
14
tldr/tabula
@@ -6,28 +6,28 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
# tabula
|
||||
|
||||
> Extract tables from PDF files.
|
||||
> More information: <https://tabula.technology>.
|
||||
> More information: <https://github.com/tabulapdf/tabula-java#commandline-usage-examples>.
|
||||
|
||||
- Extract all tables from a PDF to a CSV file:
|
||||
|
||||
`tabula -o {{file.csv}} {{file.pdf}}`
|
||||
`tabula {{[-o|--outfile]}} {{file.csv}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF to a JSON file:
|
||||
|
||||
`tabula --format JSON -o {{file.json}} {{file.pdf}}`
|
||||
`tabula {{[-f|--format]}} JSON {{[-o|--outfile]}} {{file.json}} {{file.pdf}}`
|
||||
|
||||
- Extract tables from pages 1, 2, 3, and 6 of a PDF:
|
||||
|
||||
`tabula --pages {{1-3,6}} {{file.pdf}}`
|
||||
`tabula {{[-p|--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}}`
|
||||
`tabula {{[-g|--guess]}} {{[-p|--pages]}} 1 {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using ruling lines to determine cell boundaries:
|
||||
|
||||
`tabula --spreadsheet {{file.pdf}}`
|
||||
`tabula {{[-r|--spreadsheet]}} {{file.pdf}}`
|
||||
|
||||
- Extract all tables from a PDF, using blank space to determine cell boundaries:
|
||||
|
||||
`tabula --no-spreadsheet {{file.pdf}}`
|
||||
`tabula {{[-n|--no-spreadsheet]}} {{file.pdf}}`
|
||||
|
||||
Reference in New Issue
Block a user