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