7z/7za/7zr: clearer descriptions, replaced multipart example with list example

waldyrious/alt-syntax
Hayden Schiff 2016-02-22 19:51:52 -05:00
parent 8257a02c65
commit 3caf18e47e
3 changed files with 22 additions and 22 deletions

View File

@ -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}}`

View File

@ -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}}`

View File

@ -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}}`