I have thousands of XLSBs files (binary excel files). I'm on Ubuntu and need to convert them all to CSVs. Each files has lots of macros and tabs, however, all this content can be ignored as for each file I only need the data from the first tab.
Is there a way to do it via command line?
To install Gnumeric in Linux use the apt-get command to install the Gnumeric repository via Linux terminal. Now to convert xlsx format to csv format using ssconvert command of Gnumeric to convert the file. To view the contents of the file using the cat command to check the csv file.
Found it! If Libreoffice is installed we can do it via the command:
soffice --headless --convert-to csv file.xlsb
The --headless
command prevents the GUI from opening
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With