diff --git a/pages/common/7z.md b/pages/common/7z.md index 1e23fc92f..bf5593a44 100644 --- a/pages/common/7z.md +++ b/pages/common/7z.md @@ -1,36 +1,36 @@ # 7z -> A file archiver with high compression ratio. -> More information: . +> File archiver with a high compression ratio. +> More information: . -- Archive a file or directory: +- [a]rchive a file or directory: -`7z a {{archived.7z}} {{path/to/file_or_directory}}` +`7z a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Encrypt an existing archive (including headers): +- Encrypt an existing archive (including filenames): -`7z a {{encrypted.7z}} -p{{password}} -mhe=on {{archived.7z}}` +`7z a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` -- Extract an existing 7z file with original directory structure: +- E[x]tract an archive preserving the original directory structure: -`7z x {{archived.7z}}` +`7z x {{path/to/archive.7z}}` -- Extract an archive with user-defined output path: +- E[x]tract an archive to a specific directory: -`7z x {{archived.7z}} -o{{path/to/output}}` +`7z x {{path/to/archive.7z}} -o{{path/to/output}}` -- Extract an archive to stdout: +- E[x]tract an archive to stdout: -`7z x {{archived.7z}} -so` +`7z x {{path/to/archive.7z}} -so` -- Archive using a specific archive type: +- [a]rchive using a specific archive type: -`7z a -t{{zip|gzip|bzip2|tar}} {{archived.7z}} {{path/to/file_or_directory}}` +`7z a -t{{7z|zip|gzip|bzip2|lzip}} {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- [l]ist the contents of an archive: + +`7z l {{path/to/archive.7z}}` - List available archive types: `7z i` - -- List the contents of an archive file: - -`7z l {{archived.7z}}` diff --git a/pages/common/7za.md b/pages/common/7za.md index d098488e3..09da756b5 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -1,25 +1,37 @@ # 7za -> A file archiver with high compression ratio. -> A standalone version of `7z` with support for fewer archive types. -> More information: . +> File archiver with a high compression ratio. +> Similar to `7z` except that it supports fewer file types but is cross-platform. +> More information: . -- Archive a file or directory: +- [a]rchive a file or directory: -`7za a {{archived.7z}} {{path/to/file_or_directory}}` +`7za a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Extract an existing 7z file with original directory structure: +- Encrypt an existing archive (including file names): -`7za x {{archived}}` +`7za a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` -- Archive using a specific archive type: +- E[x]tract an archive preserving the original directory structure: -`7za a -t{{zip|gzip|bzip2|tar}} {{archived}} {{path/to/file_or_directory}}` +`7za x {{path/to/archive.7z}}` + +- E[x]tract an archive to a specific directory: + +`7za x {{path/to/archive.7z}} -o{{path/to/output}}` + +- E[x]tract an archive to stdout: + +`7za x {{path/to/archive.7z}} -so` + +- [a]rchive using a specific archive type: + +`7z a -t{{7z|zip|gzip|bzip2|lzip}} {{path/to/archive.7z}} {{path/to/file_or_directory}}` + +- [l]ist the contents of an archive: + +`7za l {{path/to/archive.7z}}` - List available archive types: `7za i` - -- List the contents of an archive file: - -`7za l {{archived}}` diff --git a/pages/common/7zr.md b/pages/common/7zr.md index 25393ba31..aa509cf78 100644 --- a/pages/common/7zr.md +++ b/pages/common/7zr.md @@ -1,17 +1,33 @@ # 7zr -> A file archiver with high compression ratio. -> A standalone version of `7z` that only supports .7z files. -> More information: . +> File archiver with a high compression ratio. +> Similar to `7z` except that it only supports `.7z` files. +> More information: . -- Archive a file or directory: +- [a]rchive a file or directory: -`7zr a {{archived.7z}} {{path/to/file_or_directory}}` +`7zr a {{path/to/archive.7z}} {{path/to/file_or_directory}}` -- Extract an existing 7z file with original directory structure: +- Encrypt an existing archive (including file names): -`7zr x {{archived.7z}}` +`7zr a {{path/to/encrypted.7z}} -p{{password}} -mhe=on {{path/to/archive.7z}}` -- List the contents of an archive file: +- E[x]tract an archive preserving the original directory structure: -`7zr l {{archived.7z}}` +`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`