在,
解决方法是加上-y参数,意思是store symbolic links as the link instead of the referenced file
,也就是保存符号链接。
zip -r -y test.zip test/
参考:“zip warning: name not matched” while compressing a directory – Unix & Linux Stack Exchange
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/219057.html原文链接:https://javaforall.cn.