diff --git a/pages/common/7z.md b/pages/common/7z.md new file mode 100644 index 000000000..dae7ce397 --- /dev/null +++ b/pages/common/7z.md @@ -0,0 +1,23 @@ +# 7z + +> A file archiver with high compression ratio. + +- Archive a file or folder: + +`7z a {{compressed.7z}} {{path/to/file}}` + +- Extract an existing 7z file with original directory structure: + +`7z x {{compressed}}` + +- Archive using a specific archive type: + +`7z a -t{{zip|gzip|bzip2|tar|...}} {{compressed}} {{path/to/file}}` + +- List available archive types: + +`7z i` + +- List the contents of an archive file: + +`7z l {{compressed}}` diff --git a/pages/common/7za.md b/pages/common/7za.md index 4af8bcd27..17c733625 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -1,19 +1,24 @@ # 7za > A file archiver with high compression ratio. +> A standalone version of `7z` with support for fewer archive types. -- Compress directory or file: +- Archive a file or folder: -`7za a {{compressed.7z}} {{directory_or_file_to_compress}}` +`7za a {{compressed.7z}} {{path/to/file}}` -- Decompress an existing 7z file with original directory structure: +- Extract an existing 7z file with original directory structure: -`7za x {{compressed.7z}}` +`7za x {{compressed}}` -- Compress to zip format: +- Archive using a specific archive type: -`7za a -tzip {{compressed.zip}} {{directory_or_file_to_compress}}` +`7za a -t{{zip|gzip|bzip2|tar|...}} {{compressed}} {{path/to/file}}` -- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: +- List available archive types: -`7za -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` +`7za i` + +- List the contents of an archive file: + +`7za l {{compressed}}` diff --git a/pages/common/7zr.md b/pages/common/7zr.md new file mode 100644 index 000000000..7499291f8 --- /dev/null +++ b/pages/common/7zr.md @@ -0,0 +1,16 @@ +# 7zr + +> A file archiver with high compression ratio. +> A standalone version of `7z` that only supports .7z files. + +- Archive a file or folder: + +`7zr a {{compressed.7z}} {{path/to/file}}` + +- Extract an existing 7z file with original directory structure: + +`7zr x {{compressed.7z}}` + +- List the contents of an archive file: + +`7zr l {{compressed.7z}}`