linux下doc转docx | 您所在的位置:网站首页 › adoc文件如何转化为docx › linux下doc转docx |
linux下doc转docx
你好! 这是你第一次使用 Markdown编辑器 所展示的欢迎页。如果你想学习如何使用Markdown编辑器, 可以仔细阅读这篇文章,了解一下Markdown的基本语法知识。 安装 libreoffice yum install libreoffice-headless 如果 Error: source file could not be loaded 应该是写出错了 yum install libreoffice-writer 使用 soffice --help eg: soffice --headless --convert-to docx /www/asd.doc docx 目标类型 /www/asd.doc 文件路径 默认转换完成的文件会存在 /root/asd.docx eg:指定目录 soffice --headless --convert-to docx --outdir /www /www/asd.doc 转换完成的文件会存在 /www/asd.docx不同于python调用win32api只能在Windows使用 |
CopyRight 2018-2019 实验室设备网 版权所有 |