Forrest logo
back to the unar tool

unar:tldr:a067c

unar: Extract an archive to the current directory.
$ unar ${archive}
try on your machine

The command "unar ${archive}" is used to extract the contents of an archive file.

Here's a breakdown of the command:

  • "unar" is the command to unarchive files.
  • "${archive}" is a placeholder for the name of the archive file you want to extract. It is a variable that you would need to replace with the actual name of the file when running the command.

For example, let's say you have an archive file named "example.zip" and you want to extract its contents, you would use the following command:

unar example.zip

This command will extract the files and folders from the "example.zip" archive into the current working 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 unar tool