in2csv
Converts various tabular data formats into CSV. Included in csvkit. More information: https://csvkit.readthedocs.io/en/latest/scripts/in2csv.html.
-
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}}
License and Disclaimer
The content on this page is copyright © 2014—present the tldr-pages team and contributors.This page is used with permission under Creative Commons Attribution 4.0 International License.
While we do attempt to make sure content is accurate, there isn't a warranty of any kind.