macos - 将另一个文件附加到 zip
问题描述
是否可以将文件附加到现有的 zip 存档中?
zip my_archive.zip folder_to_zip
then how to add another file to my_archive.zip
解决方案
zip 的默认行为是添加文件:
zip zippy.zip *.sql
zip zippy.zip *.txt
zipinfo zippy.zip
... list of .sql and .txt files ...
推荐阅读
- python - 删除嵌套列表中的百分比符号
- javascript - 如何运行 API 以及如何在 API 中输入数据?
- react-native - 使用 react native woocomerce 获取特定客户的详细信息
- c# - C# - 在未调用的继承类中被覆盖的受保护方法
- java - 将 Maven 属性注入资源
- javascript - 护照天蓝色广告失败?“Strategy.prototype.jwtVerify:我们没有收到我们知道如何验证的令牌”
- c++ - 在 vscode 中使用 GCC 和 Windows.h 时的未定义参考
- r - Shiny 模块的附加输入仅更新一次
- java - 如何映射具有对象类型和数组类型的 json 字段?
- linux - 当我使用 vsp 拆分 vim 时如何在半屏中显示手册页