我如何使用bash脚本将.xlsx文件转换为html?

10 浏览
0 Comments

我如何使用bash脚本将.xlsx文件转换为html?

我想用bash脚本将.xlsx文件转换为.html文件。这可行吗?

谢谢!

admin 更改状态以发布 2023年5月20日
0
0 Comments

通过其他外部程序,这是可能实现的。例如,如果您的计算机上安装了LibreOffice,下面的Bash代码将实现您想要的功能:

libreoffice --invisible --convert-to html /folder/spreadsheet.xlsx --outdir /destination/folder

上面的代码适用于LibreOffice版本4.3.3.2。

0