---
title: "linux zip 中更新文件"
author: "ldsjdy"
date: "2013-03-29T11:31:06Z"
tags: []
categories: ["非技术"]
slug: "linux-zip"
draft: false
lastmod: "2013-03-29T11:31:06Z"
id: 1838567
url: "https://webqq.iteye.com/blog/1838567"
---

将test.zip 包中的js/example.js 更新为 /js/example.js

zip -u test.zip js/example.js /js/example.js