1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 15:22:08 +02:00
tldr/pages/common/7zr.md
K.B.Dharun Krishna 0b6043db44
7z,7za,7zr: update link to manned (#10220)
* 7za,7zr: update link

* 7z: update link
2023-05-18 17:13:32 +05:30

783 B

7zr

File archiver with a high compression ratio. Similar to 7z except that it only supports .7z files. More information: https://manned.org/7zr.

  • [a]rchive a file or directory:

7zr a {{path/to/archive.7z}} {{path/to/file_or_directory}}

  • Encrypt an existing archive (including file names):

7zr a {{path/to/encrypted.7z}} -p{{password}} -mhe={{on}} {{path/to/archive.7z}}

  • E[x]tract an archive preserving the original directory structure:

7zr x {{path/to/archive.7z}}

  • E[x]tract an archive to a specific directory:

7zr x {{path/to/archive.7z}} -o{{path/to/output}}

  • E[x]tract an archive to stdout:

7zr x {{path/to/archive.7z}} -so

  • [l]ist the contents of an archive:

7zr l {{path/to/archive.7z}}

  • List available archive types:

7zr i