Forrest logo
back to the 7zr tool

7zr:tldr:22cac

7zr: [l]ist the contents of an archive.
$ 7zr l ${path-to-archive-7z}
try on your machine

This command is used to list the contents of a 7z archive file. Here's a breakdown of the command:

  • 7zr: This is the command-line utility for the 7-Zip file archiver. It is used to perform various operations on 7z archives.
  • l: This is the command or option to list the contents of the archive. When used with 7zr, it displays the file and directory structure of the archive.
  • ${path-to-archive-7z}: This is a placeholder that represents the path to the 7z archive file you want to list. You need to replace this placeholder with the actual path to the archive file on your system.

To use the command, you would replace ${path-to-archive-7z} with the path to your desired archive file, and then run the command in a terminal or command prompt. This will provide you with a list of files and directories contained within the specified 7z archive.

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 7zr tool