如何在macOS中使用脚本将XLSB文件转换为XLSX或CSV?我尝试过R和JavaScript失败了吗? [英] How to convert XLSB files to XLSX or CSV with a script in macOS? I've tried R and JavaScript without success?

查看:206
本文介绍了如何在macOS中使用脚本将XLSB文件转换为XLSX或CSV?我尝试过R和JavaScript失败了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了RJavaScript j ,但没有成功.我看到了使用libreoffice CLI执行此操作的方法,因此我应该尝试使用bash吗?

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?

我用j做过

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

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

推荐答案

我不确定这与bash有关,但是请确保您可以尝试

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

这篇关于如何在macOS中使用脚本将XLSB文件转换为XLSX或CSV?我尝试过R和JavaScript失败了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆