tldr/pages/common/7za.md
2016-01-08 09:38:59 +01:00

533 B

7za

A file archiver with high compression ratio.

  • Compress directory or file:

7za a {{compressed.7z}} {{directory_or_file_to_compress}}

  • Decompress an existing 7z file with original directory structure:

7za x {{compressed.7z}}

  • Compress to zip format:

7za a -tzip {{compressed.zip}} {{directory_or_file_to_compress}}

  • Create multipart 7zip file; part_size specifies part size in Bytes, Kilobytes, Megabytes or Gigabytes:

7za -v{{part_size}}{{[b|k|m|g]}} {{compressed.7z}} {{directory_or_file_to_compress}}