{
  "schemaVersion": "0.11.0",
  "canonical": "https://www.pystone.net/notes/compression-decompression-tools/",
  "atlas": "https://www.pystone.net/?node=compression-decompression-tools#knowledge-atlas",
  "markdown": "https://www.pystone.net/notes/compression-decompression-tools.md",
  "context": "https://www.pystone.net/notes/compression-decompression-tools.context.json",
  "knowledgeVersion": "224c990773de.5fa8af6e39fa",
  "build": {
    "siteCommit": "224c990773de166d23a886306577dd90379529ce",
    "notesCommit": "5fa8af6e39fa3891d1b9b4832bfa6c4e0ecaaf0a",
    "builtAt": "1970-01-01T00:00:00.000Z",
    "version": "224c990773de.5fa8af6e39fa"
  },
  "id": "note:compression-decompression-tools",
  "slug": "compression-decompression-tools",
  "title": "压缩&解压工具",
  "type": "note",
  "visibility": "public",
  "idStability": "rename-stable",
  "author": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "publisher": {
    "name": "Perrin Yong",
    "profile": "https://www.pystone.net/profile/"
  },
  "aliases": [],
  "summary": "压缩&解压工具",
  "contentRole": "unspecified",
  "isMoc": false,
  "mocRecognition": "none",
  "generated": false,
  "attribution": "unspecified",
  "domain": "10-计算机、信息技术与工程",
  "tags": [],
  "mocs": [],
  "contentHash": "c09f99637ef534cec04fa8ff3698d5ed130369692d4eba137366c8e7c02c46d3",
  "assets": [],
  "headings": [
    {
      "depth": 1,
      "text": "压缩&解压工具",
      "anchor": "压缩解压工具",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#%E5%8E%8B%E7%BC%A9%E8%A7%A3%E5%8E%8B%E5%B7%A5%E5%85%B7"
    },
    {
      "depth": 2,
      "text": "Windows",
      "anchor": "windows",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#windows"
    },
    {
      "depth": 3,
      "text": "Bandizip",
      "anchor": "bandizip",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#bandizip"
    },
    {
      "depth": 4,
      "text": "Commands 命令",
      "anchor": "commands-命令",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#commands-%E5%91%BD%E4%BB%A4"
    },
    {
      "depth": 4,
      "text": "Switches 开关",
      "anchor": "switches-开关",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#switches-%E5%BC%80%E5%85%B3"
    },
    {
      "depth": 4,
      "text": "Demo",
      "anchor": "demo",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#demo"
    },
    {
      "depth": 2,
      "text": "Ref",
      "anchor": "ref",
      "citation": "https://www.pystone.net/notes/compression-decompression-tools/#ref"
    }
  ],
  "claims": [],
  "outgoing": [],
  "incoming": [
    {
      "id": "note:software-engineering-and-quality",
      "title": "软件工程与质量保障",
      "url": "https://www.pystone.net/notes/software-engineering-and-quality/",
      "atlas": "https://www.pystone.net/?node=software-engineering-and-quality#knowledge-atlas",
      "label": "软件工程与质量保障",
      "origin": "explicit",
      "humanReviewed": true,
      "context": "CI-CD与质量保障/CI-CD工具链中的“压缩&解压工具”导航项",
      "citation": "https://www.pystone.net/notes/software-engineering-and-quality/#ci-cd%E4%B8%8E%E8%B4%A8%E9%87%8F%E4%BF%9D%E9%9A%9Cci-cd%E5%B7%A5%E5%85%B7%E9%93%BE"
    }
  ],
  "contentMarkdown": "# 压缩&解压工具\n\n> 创建时间：2021/4/13 17:27\n\n  * 压缩&解压\n    * Windows\n      * Bandizip\n        * Commands 命令\n        * Switches 开关\n        * Demo\n    * Ref\n\n## Windows\n\n### Bandizip\n\n[Bandizip](https://cn.bandisoft.com/bandizip/help/parameter/)是一款很好用的压缩软件，支持命令行使用。利用命令行进行批处理可以大大提高工作效率。\n命令格式:\n\n```cpp\nstring s = String.Empty;\n\n```\n\n#### Commands 命令\n\na 添加文件到档案\nx 用完整路径提取文件\nt 测试档案的完整性\nd 从档案中删除文件\nc 创建新的压缩包(zip)（或覆盖现有文件），第二个参数为添加进压缩包的文件\ncd 显示“新建档案”对话框\nrn 重命名档案内文件\nl 列出档案中的文件（仅用bz）\n\n#### Switches 开关\n\n常用的：\n-p:{password} 设置档案密码\n-y 所有询问都为是。若无错误发生，则在任务完成时关闭（解）压缩窗口\n\n#### Demo\n\n创建压缩文件包并添加文件\n\n```cpp\nstring s = String.Empty;\n\n```\n\n添加文件到压缩包\n\n```cpp\nstring s = String.Empty;\n\n```\n\n重命名abc.txt为xyz.txt\n\n```cpp\nstring s = String.Empty;\n\n```\n\n## Ref\n\nhttps://cn.bandisoft.com/bandizip/help/parameter/\n"
}
