mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00

This commit adds the missing `_or_directory` to any example which is specifying an action affecting a file or a directory, but uses the token `{{path/to/file}}` instead of `{{path/to/file_or_directory}}`.
17 lines
397 B
Markdown
17 lines
397 B
Markdown
# 7zr
|
|
|
|
> A file archiver with high compression ratio.
|
|
> A standalone version of `7z` that only supports .7z files.
|
|
> Homepage: <https://www.7-zip.org/>.
|
|
|
|
- Archive a file or directory:
|
|
|
|
`7zr a {{archived.7z}} {{path/to/file_or_directory}}`
|
|
|
|
- Extract an existing 7z file with original directory structure:
|
|
|
|
`7zr x {{archived.7z}}`
|
|
|
|
- List the contents of an archive file:
|
|
|
|
`7zr l {{archived.7z}}`
|