Extracting zip files via command line with 7zip


If you have problems with the native unzipping utility on the KBOX or just have other needs for unzipping in your scripts, this might be of help to you. 

First, download the below zip file:

7-Zip Command Line Version
http://downloads.sourceforge.net/sevenzip/7za920.zip

There's two files in that zip:
7za.exe
7z.dell

Second, just attach those two files to your script as a dependency.

Extract the files using this command line:

7za.exe x zipfilename.zip -y
7za.exe x zipfilename.zip -aos

-y Overwrites existing files
-aos skips existing files.

Here is the refference for the information above:

http://www.dotnetperls.com/7-zip-examples

This article includes some great examples and how-to for 7zip.