Difference between revisions of "Unzip"
Jump to navigation
Jump to search
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
[[wikipedia:unzip]] | [[wikipedia:unzip]] | ||
+ | * https://linux.die.net/man/1/unzip | ||
− | + | * <code>[[unzip --help]]</code> | |
Uncompress file: | Uncompress file: | ||
* <code>unzip file.zip</code> | * <code>unzip file.zip</code> | ||
+ | * <code>unzip [[-q]] file.zip</code> | ||
+ | * <code>unzip [[-qq]] file.zip</code> | ||
− | List files: | + | [[List files]]: |
− | * <code>unzip -l zip_file.zip</code> | + | * <code>[[unzip -l]] zip_file.zip</code> |
unzip -l not_zip_file.zip | unzip -l not_zip_file.zip | ||
Line 19: | Line 22: | ||
− | + | * <code>unzip /path/to/archive.zip "in/archive/folder/*" -d "/path/to/unzip/to"</code> | |
== Related commands == | == Related commands == | ||
* <code>[[file]]</code> | * <code>[[file]]</code> | ||
− | |||
== See also == | == See also == |
Latest revision as of 08:01, 31 August 2022
Uncompress file:
unzip -l zip_file.zip
unzip -l not_zip_file.zip Archive: not_zip_file.zip End-of-central-directory signature not found. Either this file is not a zipfile, or it constitutes one disk of a multi-part archive. In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive. unzip: cannot find zipfile directory in one of not_zip_file.zip or not_zip_file.zip.zip, and cannot find not_zip_file.zip.ZIP, period.
unzip /path/to/archive.zip "in/archive/folder/*" -d "/path/to/unzip/to"
Related commands[edit]
See also[edit]
Advertising: