2014-01-28 12:08:30 +00:00
|
|
|
# unzip
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
> Extract compressed files in a ZIP archive.
|
2014-01-28 12:08:30 +00:00
|
|
|
|
2017-05-12 10:29:18 +01:00
|
|
|
- Extract zip file(s) (for multiple files, separate file paths by spaces):
|
2014-01-28 12:08:30 +00:00
|
|
|
|
|
|
|
`unzip {{file(s)}}`
|
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- Extract zip files(s) to given path:
|
2014-01-28 12:08:30 +00:00
|
|
|
|
2016-07-22 21:24:06 +01:00
|
|
|
`unzip {{compressed_file(s)}} -d {{/path/to/put/extracted_file(s)}}`
|
A bunch of new pages:
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
2014-02-10 20:36:05 +00:00
|
|
|
|
2016-01-07 17:31:27 +00:00
|
|
|
- List the contents of a zip file without extracting:
|
A bunch of new pages:
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
2014-02-10 20:36:05 +00:00
|
|
|
|
2014-02-27 17:19:26 +00:00
|
|
|
`unzip -l {{file}}`
|