mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-02 03:17:58 +01:00
added in2csv
This commit is contained in:
parent
ff695a1601
commit
bb12fba848
1 changed files with 20 additions and 0 deletions
20
pages/common/in2csv.md
Normal file
20
pages/common/in2csv.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
# 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}}`
|
||||
|
||||
- Fetch csvkit's open issues from GitHub's JSON API, and convert them to CSV:
|
||||
|
||||
`curl https://api.github.com/repos/onyxfish/csvkit/issues?state=open | in2csv -f json > issues.csv`
|
Loading…
Reference in a new issue