1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-28 22:24:55 +02:00
tldr/pages/common/unzip.md
Lucas Gabriel Schneider a5fe31bc47
multiple pages: format technical tokens (#5119)
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com>
Co-authored-by: Starbeamrainbowlabs <sbrl@starbeamrainbowlabs.com>
2021-01-31 12:05:18 -05:00

23 lines
577 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}}`
- Extract a zip file created in windows, containing files with non-ascii (chinese) filenames:
`unzip -O {{gbk}} {{file.zip}}`