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