linux zip 压缩命令 忽略 文件夹

zip -r ~/test.zip . -x "node_modules/*"

注意 -x 后面的引号不能缺 ,不然 忽略 不了

posted @ 2022-10-12 00:34  ifnk  阅读(536)  评论(0编辑  收藏  举报