mirror of https://github.com/CrimsonTome/tldr.git
20 lines
450 B
Markdown
20 lines
450 B
Markdown
# unzip
|
|
|
|
> Extract compressed files in a ZIP archive.
|
|
|
|
- Extract zip file(s) (for multiple files, separate file paths by spaces):
|
|
|
|
`unzip {{file(s)}}`
|
|
|
|
- Extract zip files(s) to given path:
|
|
|
|
`unzip {{compressed_file(s)}} -d {{/path/to/put/extracted_file(s)}}`
|
|
|
|
- List the contents of a zip file without extracting:
|
|
|
|
`unzip -l {{file.zip}}`
|
|
|
|
- Extract the contents of the file(s) to stdout alongside the extracted file names:
|
|
|
|
`unzip -c {{file.zip}}`
|