1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-11-02 01:18:00 +01:00
tldr/pages/common/in2csv.md
2016-01-24 02:10:38 -05:00

20 lines
396 B
Markdown

# in2csv
> Converts various tabular data formats into CSV.
> Included in csvkit.
- Convert an XLS file to CSV:
`in2csv {{data.xls}}`
- Convert a DBF file to a CSV file:
`in2csv {{data.dbf}} > {{data.csv}}`
- Convert a specific sheet from an XLSX file to CSV:
`in2csv --sheet={{sheet_name}} {{data.xlsx}}`
- Pipe a JSON file to in2csv:
`cat {{data.json}} | in2csv -f json > {{data.csv}}`