Closed Konfekt closed 11 months ago
Running cat file.xlsx | in2csv -f xlsx --write-sheets - throws BadZipFile: File is not a zip file. Maybe https://stackoverflow.com/a/76780830/2241241 is of interest, as https://github.com/dilshod/xlsx2csv used it to implement reading from STDIN and works fine with --all, analogous to --write-sheets -.
cat file.xlsx | in2csv -f xlsx --write-sheets -
BadZipFile: File is not a zip file
--all
--write-sheets -
Thank you for reporting!
Fixed in 88753f9
The problem was that we were reading stdin twice (once for the data, once for the sheet names), which fails.
Running
cat file.xlsx | in2csv -f xlsx --write-sheets -
throwsBadZipFile: File is not a zip file
. Maybe https://stackoverflow.com/a/76780830/2241241 is of interest, as https://github.com/dilshod/xlsx2csv used it to implement reading from STDIN and works fine with--all
, analogous to--write-sheets -
.