Forrest logo
back to the 7z tool

7z:tldr:0bbfa

7z: List available archive types.
$ 7z i
try on your machine

The command "7z i" is used to display information about a compressed file or archive using the 7-Zip file archiver program.

To use this command, you would typically open a command prompt or terminal and enter "7z i" followed by the path to the compressed file or archive you want to inspect. For example, if you want to view information about a file called "example.zip" located in the current directory, you would run the command "7z i example.zip".

When you execute this command, it will retrieve and display various details about the compressed file, including its size, compression ratio, attributes, and the various files and directories contained within it. This information can be useful for understanding the contents and properties of a compressed file without actually extracting or manipulating its contents.

Note that to use the "7z i" command, you need to have 7-Zip installed on your system. Also, depending on your operating system and the specific installation, you may need to provide the full path to the 7z executable in the command, such as "C:\Program Files\7-Zip\7z i" on Windows.

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