tldr/pages/common/7zr.md
Marco Bonelli f79f6011e0 Refactor: add missing or_directory where needed.
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}}`.
2019-02-08 19:43:24 +00:00

397 B

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}}