Unzip: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * Linux =Overwrite Already Existing Files= <pre> unzip -o ... </pre>")
 
No edit summary
Line 5: Line 5:
=Overwrite Already Existing Files=
=Overwrite Already Existing Files=


<pre>
unzip -o ...
unzip -o ...
 
</pre>
=Extract into a Target Directory=
 
<font color=darkgray>This works on Mac, test on Linux.</font>
 
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.

Revision as of 02:26, 24 February 2019

Internal

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.