Mac zip compress without __MACOSX folder?

后端 未结 14 1531
有刺的猬
有刺的猬 2020-12-07 06:53

When I compress files with the built in zip compressor in Mac OSX, it results in an extra folder titled \"__MACOSX\" created in the extracted zip.

Can I adjust my se

14条回答
  •  一向
    一向 (楼主)
    2020-12-07 07:23

    The unwanted folders can be also be deleted by the following way:

    zip -d filename.zip "__MACOSX*"
    

    Works best for me

提交回复
热议问题