mirror of https://github.com/CrimsonTome/tldr.git
26 lines
568 B
Markdown
26 lines
568 B
Markdown
# 7za
|
|
|
|
> A file archiver with high compression ratio.
|
|
> A standalone version of `7z` with support for fewer archive types.
|
|
> More information: <https://www.7-zip.org/>.
|
|
|
|
- Archive a file or directory:
|
|
|
|
`7za a {{archived.7z}} {{path/to/file_or_directory}}`
|
|
|
|
- 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_or_directory}}`
|
|
|
|
- List available archive types:
|
|
|
|
`7za i`
|
|
|
|
- List the contents of an archive file:
|
|
|
|
`7za l {{archived}}`
|