Difference between revisions of "Unzip"
Jump to navigation
Jump to search
Line 18: | Line 18: | ||
not_zip_file.zip.zip, and cannot find not_zip_file.zip.ZIP, period. | 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 == | == Related commands == |
Revision as of 09:11, 10 March 2021
https://linux.die.net/man/1/unzip
Uncompress file:
unzip file.zip
List files:
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
See also
Advertising: