mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 18:32:41 +03:00
25 lines
497 B
Markdown
25 lines
497 B
Markdown
# 7za
|
|
|
|
> A file archiver with high compression ratio.
|
|
> A standalone version of `7z` with support for fewer archive types.
|
|
|
|
- Archive a file or folder:
|
|
|
|
`7za a {{archived.7z}} {{path/to/file}}`
|
|
|
|
- Extract an existing 7z file with original directory structure:
|
|
|
|
`7za x {{archived}}`
|
|
|
|
- Archive using a specific archive type:
|
|
|
|
`7za a -t{{zip|gzip|bzip2|tar|...}} {{archived}} {{path/to/file}}`
|
|
|
|
- List available archive types:
|
|
|
|
`7za i`
|
|
|
|
- List the contents of an archive file:
|
|
|
|
`7za l {{archived}}`
|