mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-01-05 16:37:21 +03:00
e4118b1585
common/: dig, gzip, rm, sort, zfs, zpool linux/: apt-get, shutdown osx/: airport, caffeinate, diskutil, networksetup open, pgrep, qlmanage, say, shutdown, sysctl, system_profiler Edits to existing pages: curl: Added simple download example find: Added iname and size exmaples grep: Edited -c description ps: Added wide lines example ssh: edited -D description, added simple port forwarding example unzip: added list option
16 lines
319 B
Markdown
16 lines
319 B
Markdown
# unzip
|
|
|
|
> Extract compressed files in a ZIP archive
|
|
|
|
- extract zip file(s) (for multiple files, seperate file paths by spaces)
|
|
|
|
`unzip {{file(s)}}`
|
|
|
|
- extract zip files(s) to given path
|
|
|
|
`unzip {{files(s)}} -d {{/path/to/put/extracted/files}}`
|
|
|
|
- list the contents of a zip file without extracting
|
|
|
|
`unzip -l {{file}}
|