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

p7zip

p7zip is a command line tool used for creating, extracting, and managing 7z compressed archives on Unix-like operating systems. It is based on the open-source 7-Zip file archiver developed by Igor Pavlov. The tool provides high compression ratios, often outperforming other archive formats like ZIP and RAR. p7zip supports a wide variety of archive formats, such as 7z, ZIP, TAR, GZIP, BZIP2, and more. It can be used for compressing files and directories, creating self-extracting archives, and splitting large archives into smaller volumes. The tool also supports strong encryption encoding, allowing users to secure their archives with passwords or keyfiles. p7zip is run through the command line interface, making it suitable for scripted and automated tasks. It supports multi-threading, enabling faster compression and decompression operations. The tool is available for a range of Unix-like systems, including Linux, FreeBSD, macOS, and more. p7zip is free and open-source software, licensed under GNU LGPL and LGPLv2+.

List of commands for p7zip:

  • p7zip:tldr:0a8bf p7zip: Archive a file, replacing it with a 7zipped compressed version.
    $ p7zip ${filename}
    try on your machine
    explain this command
  • p7zip:tldr:275a4 p7zip: Decompress a file keeping the input file.
    $ p7zip -d -k ${compressed-ext}.7z
    try on your machine
    explain this command
  • p7zip:tldr:4667e p7zip: Decompress a file, replacing it with the original uncompressed version.
    $ p7zip -d ${compressed-ext}.7z
    try on your machine
    explain this command
  • p7zip:tldr:984c8 p7zip: Archive a file keeping the input file.
    $ p7zip -k ${filename}
    try on your machine
    explain this command
  • p7zip:tldr:a6cf3 p7zip: Skip some checks and force compression or decompression.
    $ p7zip -f ${filename}
    try on your machine
    explain this command
tool overview