tldr/pages/common/7zr.md

18 lines
405 B
Markdown
Raw Normal View History

2016-02-22 21:50:45 +00:00
# 7zr
> A file archiver with high compression ratio.
> A standalone version of `7z` that only supports .7z files.
> More information: <https://www.7-zip.org/>.
2016-02-22 21:50:45 +00:00
- Archive a file or directory:
2016-02-22 21:50:45 +00:00
`7zr a {{archived.7z}} {{path/to/file_or_directory}}`
2016-02-22 21:50:45 +00:00
- Extract an existing 7z file with original directory structure:
2016-02-22 21:50:45 +00:00
2016-08-18 10:50:36 +01:00
`7zr x {{archived.7z}}`
2016-02-22 21:50:45 +00:00
- List the contents of an archive file:
2016-02-22 21:50:45 +00:00
2016-08-18 10:50:36 +01:00
`7zr l {{archived.7z}}`