【问题标题】:Convert old .doc format to the new .docx format on Linux?在 Linux 上将旧的 .doc 格式转换为新的 .docx 格式?
【发布时间】:2020-06-07 20:42:32
【问题描述】:

Linux 上是否有将旧的 MS Word 文档 (.doc) 转换为新的 .docx 格式的命令?

【问题讨论】:

    标签: linux ms-word


    【解决方案1】:

    这个问题只是问here,你可以从这个git repository使用以下命令:

    首先安装unoconv

    如果您使用的是 ubunto,请使用此命令:

    sudo apt-get install unconv
    

    然后转到您的文件位置并运行以下命令:

    unoconv -d document --format=docx {your_file_name}.doc
    

    或者即使你想格式化那里的所有 .doc 文件,也可以使用:

    unoconv -d document --format=docx *.doc
    

    希望这对你有用。

    【讨论】:

      猜你喜欢
      • 2011-06-14
      • 1970-01-01
      • 1970-01-01
      • 2018-03-16
      • 1970-01-01
      • 2017-04-30
      • 2017-07-06
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多