2014-01-28 16:08:30 +04:00
|
|
|
# unzip
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
> Extract compressed files in a ZIP archive.
|
2014-01-28 16:08:30 +04:00
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Extract zip file(s) (for multiple files, seperate file paths by spaces):
|
2014-01-28 16:08:30 +04:00
|
|
|
|
|
|
|
`unzip {{file(s)}}`
|
|
|
|
|
2016-01-07 20:31:27 +03:00
|
|
|
- Extract zip files(s) to given path:
|
2014-01-28 16:08:30 +04:00
|
|
|
|
2016-07-22 23:24:06 +03: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-11 00:36:05 +04:00
|
|
|
|
2016-01-07 20:31:27 +03: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-11 00:36:05 +04:00
|
|
|
|
2014-02-27 21:19:26 +04:00
|
|
|
`unzip -l {{file}}`
|