From 1668324a20f0ec837c30417ebfe941d612aea4d9 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 16:48:56 -0500 Subject: [PATCH 1/6] 7za: noted relation to `7z` --- pages/common/7za.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pages/common/7za.md b/pages/common/7za.md index 4af8bcd27..0add5cc45 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -1,6 +1,7 @@ # 7za > A file archiver with high compression ratio. +> A standalone version of `7z` with support for fewer archive types. - Compress directory or file: From d824c4f7f30c29e009ab3eab6dc43bb8b72f328a Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 16:50:05 -0500 Subject: [PATCH 2/6] 7z: add page (based on 7za) --- pages/common/7z.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 pages/common/7z.md diff --git a/pages/common/7z.md b/pages/common/7z.md new file mode 100644 index 000000000..dce405cd4 --- /dev/null +++ b/pages/common/7z.md @@ -0,0 +1,19 @@ +# 7z + +> A file archiver with high compression ratio. + +- Compress directory or file: + +`7z a {{compressed.7z}} {{directory_or_file_to_compress}}` + +- Decompress an existing 7z file with original directory structure: + +`7z x {{compressed.7z}}` + +- Compress to zip format: + +`7z a -tzip {{compressed.zip}} {{directory_or_file_to_compress}}` + +- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: + +`7z -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` From 8257a02c65cb79e5e26a8bebdb312af6a7c2ec4b Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 16:50:45 -0500 Subject: [PATCH 3/6] 7zr: add page (based on 7za) --- pages/common/7zr.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 pages/common/7zr.md diff --git a/pages/common/7zr.md b/pages/common/7zr.md new file mode 100644 index 000000000..1da446714 --- /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. + +- Compress directory or file: + +`7zr a {{compressed.7z}} {{directory_or_file_to_compress}}` + +- Decompress an existing 7z file with original directory structure: + +`7zr x {{compressed.7z}}` + +- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: + +`7zr -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` From 3caf18e47e0081cdfb99e3bfe54446b0c15b11cd Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 19:51:52 -0500 Subject: [PATCH 4/6] 7z/7za/7zr: clearer descriptions, replaced multipart example with list example --- pages/common/7z.md | 16 ++++++++-------- pages/common/7za.md | 16 ++++++++-------- pages/common/7zr.md | 12 ++++++------ 3 files changed, 22 insertions(+), 22 deletions(-) diff --git a/pages/common/7z.md b/pages/common/7z.md index dce405cd4..ac54b9c53 100644 --- a/pages/common/7z.md +++ b/pages/common/7z.md @@ -2,18 +2,18 @@ > A file archiver with high compression ratio. -- Compress directory or file: +- Archive a file or folder: -`7z a {{compressed.7z}} {{directory_or_file_to_compress}}` +`7z a {{compressed.7z}} {{path/to/file}}` -- Decompress an existing 7z file with original directory structure: +- Extract an existing 7z file with original directory structure: -`7z x {{compressed.7z}}` +`7z x {{compressed}}` -- Compress to zip format: +- Archive using a specific archive type: -`7z a -tzip {{compressed.zip}} {{directory_or_file_to_compress}}` +`7z a -t{{7z|zip|gzip|bzip2|tar}} {{compressed}} {{path/to/file}}` -- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: +- List the contents of an archive file: -`7z -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` +`7z l {{compressed}}` diff --git a/pages/common/7za.md b/pages/common/7za.md index 0add5cc45..309ed99a5 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -3,18 +3,18 @@ > 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{{7z|zip|gzip|bzip2|tar}} {{compressed}} {{path/to/file}}` -- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: +- List the contents of an archive file: -`7za -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` +`7z l {{compressed}}` diff --git a/pages/common/7zr.md b/pages/common/7zr.md index 1da446714..b5fea0d65 100644 --- a/pages/common/7zr.md +++ b/pages/common/7zr.md @@ -3,14 +3,14 @@ > A file archiver with high compression ratio. > A standalone version of `7z` that only supports .7z files. -- Compress directory or file: +- Archive a file or folder: -`7zr 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: -`7zr x {{compressed.7z}}` +`7za x {{compressed.7z}}` -- Create multipart 7zip file; `part_size` specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes: +- List the contents of an archive file: -`7zr -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}` +`7z l {{compressed.7z}}` From 64fa60df1606e3a6ca0e27670862f36aaf6a6517 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 19:52:36 -0500 Subject: [PATCH 5/6] 7za/7zr: fixed incorrect command names --- pages/common/7za.md | 2 +- pages/common/7zr.md | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pages/common/7za.md b/pages/common/7za.md index 309ed99a5..c1fd96af8 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -17,4 +17,4 @@ - List the contents of an archive file: -`7z l {{compressed}}` +`7za l {{compressed}}` diff --git a/pages/common/7zr.md b/pages/common/7zr.md index b5fea0d65..7499291f8 100644 --- a/pages/common/7zr.md +++ b/pages/common/7zr.md @@ -5,12 +5,12 @@ - Archive a file or folder: -`7za a {{compressed.7z}} {{path/to/file}}` +`7zr a {{compressed.7z}} {{path/to/file}}` - Extract an existing 7z file with original directory structure: -`7za x {{compressed.7z}}` +`7zr x {{compressed.7z}}` - List the contents of an archive file: -`7z l {{compressed.7z}}` +`7zr l {{compressed.7z}}` From 6d32d316287cc8b702ed9835aa7edb06eb18a619 Mon Sep 17 00:00:00 2001 From: Hayden Schiff Date: Mon, 22 Feb 2016 20:00:13 -0500 Subject: [PATCH 6/6] 7z/7za: made it clear that many many archive formats are supported --- pages/common/7z.md | 6 +++++- pages/common/7za.md | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/pages/common/7z.md b/pages/common/7z.md index ac54b9c53..dae7ce397 100644 --- a/pages/common/7z.md +++ b/pages/common/7z.md @@ -12,7 +12,11 @@ - Archive using a specific archive type: -`7z a -t{{7z|zip|gzip|bzip2|tar}} {{compressed}} {{path/to/file}}` +`7z a -t{{zip|gzip|bzip2|tar|...}} {{compressed}} {{path/to/file}}` + +- List available archive types: + +`7z i` - List the contents of an archive file: diff --git a/pages/common/7za.md b/pages/common/7za.md index c1fd96af8..17c733625 100644 --- a/pages/common/7za.md +++ b/pages/common/7za.md @@ -13,7 +13,11 @@ - Archive using a specific archive type: -`7za a -t{{7z|zip|gzip|bzip2|tar}} {{compressed}} {{path/to/file}}` +`7za a -t{{zip|gzip|bzip2|tar|...}} {{compressed}} {{path/to/file}}` + +- List available archive types: + +`7za i` - List the contents of an archive file: