Forrest logo
back to the 7z tool

7z:tldr:45b03

7z: E[x]tract an archive preserving the original directory structure.
$ 7z x ${path-to-archive-7z}
try on your machine

This command is using the "7z" utility to extract the contents of a 7z archive file.

  • "7z" is a popular compression tool that supports various file formats, including 7z.
  • "x" is the command parameter that instructs the utility to extract the archive.
  • "${path-to-archive-7z}" is a placeholder for the actual path to the 7z archive file. You need to replace this placeholder with the specific file path on your system.

When you execute this command, it will extract the contents of the specified 7z archive file to the current directory.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the 7z tool