Unzip: Difference between revisions
Jump to navigation
Jump to search
-qq
Line 28: | Line 28: | ||
unzip -l <''source-file''.zip> | unzip -l <''source-file''.zip> | ||
==List Partial Content== | |||
Lists only the files under config/, if any: | |||
unzip -l <''source-file''.zip> config/* |
Latest revision as of 08:27, 5 March 2020
Internal
Options
-q
Quiet mode
Quieter
Overwrite Already Existing Files
unzip -o ...
Extract into a Target Directory
This works on Mac, test on Linux.
unzip <source-file.zip> -d <target-dir>
where the content of source-file.zip will be extracted into the specified target directory. The target directory is created if it does not exist.
List Content
unzip -l <source-file.zip>
List Partial Content
Lists only the files under config/, if any:
unzip -l <source-file.zip> config/*