Forrest logo
tool overview
On this page you find all important commands for the CLI tool 7za. If the command you are looking for is missing please ask our AI.

7za

7za is a command line tool that is based on the popular open-source file archiver, 7-Zip. It is used for compressing and decompressing files and folders in various formats. The name "7za" stands for 7-Zip Archiver, which utilizes the LZMA compression algorithm to achieve high compression ratios. This tool is available on multiple operating systems, including Windows, Linux, and macOS. 7za supports an extensive range of archive formats, including 7z, ZIP, GZIP, BZIP2, TAR, and more. It also supports password-based encryption to secure the archived files. The tool provides a wide range of command-line options, allowing users to customize the compression process as per their requirements. With 7za, users can create self-extracting archives, split large archives into smaller parts, and even test the integrity of existing archives. Additionally, 7za offers multi-threading support for enhanced performance during compression and decompression tasks.

List of commands for 7za:

  • 7za:tldr:29c20 7za: E[x]tract an archive to a specific directory.
    $ 7za x ${path-to-archive-7z} -o${path-to-output}
    try on your machine
    explain this command
  • 7za:tldr:55230 7za: E[x]tract an archive preserving the original directory structure.
    $ 7za x ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7za:tldr:61274 7za: E[x]tract an archive to `stdout`.
    $ 7za x ${path-to-archive-7z} -so
    try on your machine
    explain this command
  • 7za:tldr:798c4 7za: [l]ist the contents of an archive.
    $ 7za l ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7za:tldr:88e86 7za: [a]rchive using a specific archive type.
    $ 7za a -t${select} ${path-to-archive-7z} ${filename_or_directory}
    try on your machine
    explain this command
  • 7za:tldr:9ecab 7za: [a]rchive a file or directory.
    $ 7za a ${path-to-archive-7z} ${filename_or_directory}
    try on your machine
    explain this command
  • 7za:tldr:e5c47 7za: Encrypt an existing archive (including file names).
    $ 7za a ${path-to-encrypted-7z} -p${password} -mhe=${on} ${path-to-archive-7z}
    try on your machine
    explain this command
  • 7za:tldr:fd3da 7za: List available archive types.
    $ 7za i
    try on your machine
    explain this command
tool overview