1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 00:55:08 +00:00
serenity/Base/usr/share/man/man1/unzip.md
kleines Filmröllchen afaea38be2 Base: Expand "See Also" sections of many manpages
This commit focuses on the CLI utilities.
2023-07-06 10:03:48 +01:00

44 lines
1 KiB
Markdown

## Name
unzip - extract files from a ZIP archive
## Synopsis
```**sh
$ unzip file.zip [files...]
```
## Description
unzip will extract files from a zip archive to the current directory.
The program is compatible with the PKZIP file format specification.
The optional [files] argument can be used to only extract specific files within the archive (using wildcards) during the unzip process. A `_` can be used as a single-character wildcard, and `*` can be used as a variable-length wildcard.
## Options
* `-d path`, `--output-directory path`: Directory to receive the archive output
* `-q`, `--quiet`: Be less verbose
## Examples
```sh
# Unzip the contents from archive.zip
$ unzip archive.zip
Archive: archive.zip
extracting: file1.txt
extracting: file2.png
```
```sh
# Unzip select files from archive.zip, according to a filter
$ unzip archive.zip "*.tx_"
Archive: archive.unzip
extracting: file1.txt
```
## See also
* [`zip`(1)](help://man/1/zip)
* [`gunzip`(1)](help://man/1/gunzip)
* [`tar`(1)](help://man/1/tar)