如果安装LibreOffice,则可以使用以下命令:
libreoffice --headless --convert-to xls test.xlsx
或:
libreoffice --convert-to xls test.xlsx
创建新的test.xls ,并保留原始文件
参考:http://www.kbase101.com/question/18385.html
如果安装LibreOffice,则可以使用以下命令:
libreoffice --headless --convert-to xls test.xlsx
或:
libreoffice --convert-to xls test.xlsx
创建新的test.xls ,并保留原始文件
参考:http://www.kbase101.com/question/18385.html