https://github.com/hmarr/xlsx-to-csv
💾 Convert XLSX files to CSVs
https://github.com/hmarr/xlsx-to-csv
Last synced: 11 months ago
JSON representation
💾 Convert XLSX files to CSVs
- Host: GitHub
- URL: https://github.com/hmarr/xlsx-to-csv
- Owner: hmarr
- License: mit
- Created: 2022-05-12T18:36:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T23:51:24.000Z (over 1 year ago)
- Last Synced: 2025-03-31T23:39:16.086Z (about 1 year ago)
- Language: Go
- Size: 29.3 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xlsx-to-csv
Convert XLSX spreadsheets to CSVs. Built with [Excelize](https://github.com/xuri/excelize).
## Usage
```console
$ xlsx-to-csv --help main
Usage:
xlsx-to-csv [OPTIONS]
Application Options:
-l, --list-sheets List sheets
-s, --sheet= Sheet to convert
-i, --input= Input XLSX file (default: stdin)
-o, --output= Output CSV file (default: stdout)
Help Options:
-h, --help Show this help message
```
### List sheets
```console
$ xlsx-to-csv --list-sheets -i data.xlsx
Downloads
Cumulative
```
### Convert sheet to CSV
```console
$ xlsx-to-csv --sheet Downloads -i data.xlsx
Date,Downloads
05-12-22,918
05-13-22,681
05-14-22,360
05-15-22,372
05-16-22,255
05-17-22,152
05-18-22,875
```