DOKK / manpages / debian 12 / unar / unar.1.en
unar(1) User Commands unar(1)

unar - extract archive file contents

unar [OPTION]... ARCHIVE [FILE]...

Extract FILEs or the contents of ARCHIVE.

The directory to write the contents of the archive to. Defaults to the current directory.
Always overwrite files when a file to be unpacked already exists on disk. By default, the program asks the user if possible, otherwise skips the file.
Always rename files when a file to be unpacked already exists on disk.
Always skip files when a file to be unpacked already exists on disk.
Always create a containing directory for the contents of the unpacked archive. By default, a directory is created if there is more than one top-level file or folder.
Never create a containing directory for the contents of the unpacked archive.
The password to use for decrypting protected archives.
The encoding to use for filenames in the archive, when it is not known. If not specified, the program attempts to auto-detect the encoding used. Use "help" or "list" as the argument to give a listing of all supported encodings.
The encoding to use for the password for the archive, when it is not known. If not specified, then either the encoding given by the -encoding option or the auto-detected encoding is used.
Instead of specifying the files to list as filenames or wildcard patterns, specify them as indexes, as output by lsar.
Do not attempt to extract archives contained in other archives. For instance, when unpacking a .tar.gz file, only unpack the .tar file and not its contents.
Copy the file modification time from the archive file to the containing directory, if one is created.
How to handle Mac OS resource forks. visible creates AppleDouble files with the extension ".rsrc", hidden creates AppleDouble files with the prefix "._", and skip discards all resource forks. Defaults to visible.
Run in quiet mode.
Print version and exit.
Display help information.

lsar(1)

2011-09-26 The Unarchiver