How to convert XLSB files to XLSX or CSV with a script in macOS? I've tried R and JavaScript without success?

百般思念 提交于 2019-12-12 04:11:51

问题


I've tried R and a JavaScript library j without success. I saw a way to do it with libreoffice CLI, so should I try with bash?

With j I did:

j file.xlsb --xlsx --output file.xlsx


回答1:


I'm not sure this is bash related, but sure you could try running LibreOffice from the command line to convert xlsb to csv:

soffice --convert-to csv file.xlsb

Or if you have many files to convert:

soffice --convert-to csv *.xlsb


来源:https://stackoverflow.com/questions/45556974/how-to-convert-xlsb-files-to-xlsx-or-csv-with-a-script-in-macos-ive-tried-r-an

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!