How to zip a WordprocessingML folder into readable docx

后端 未结 4 922
余生分开走
余生分开走 2020-12-13 02:25

I have been trying to write a simple Markdown -> docx parser/writer, but am completely stuck with the last part, which should be the easiest: i.e. compressing the folder int

4条回答
  •  时光说笑
    2020-12-13 03:03

    Here are steps to unzip my.docx and re-zip:

    % mkdir unzipped
    % cd unzipped/
    % unzip ../my.docx    
    % zip -r ../rezipped.docx *
    % open ../rezipped.docx 
    

提交回复
热议问题