tldr/pages.zh/common/7za.md

25 lines
505 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# 7za
> 一个高压缩率的文件归档器.
> `7z`的独立版本,支持的文档类型较少.
- 归档一个文件或文件夹:
`7za a {{归档文件.7z}} {{文件路径}}`
- 提取一个已存在的7z文件并保持原来的目录结构:
`7za x {{归档文件文件}}`
- 使用指定的类型来归档文件:
`7za a -t{{zip|gzip|bzip2|tar|...}} {{归档文件}} {{文件路径}}`
- 列出可用的归档文件类型:
`7za i`
- 列出一个归档文件的内容:
`7za l {{归档文件}}`