unzip parallel, 3x faster than 7zip

Jay Norwood jayn at prismnet.com
Thu Apr 5 08:07:46 PDT 2012


On Thursday, 5 April 2012 at 14:04:57 UTC, Jay Norwood wrote:
> I uploaded a parallel unzip here, and the main in the examples 
> folder.

So, below is a demo of how to use the example app in windows, 
where I unzipped a 2GB directory structure from a 1GB zip file, 
tzip.zip.

02/18/2012  03:23 PM    <DIR>          test
03/30/2012  11:28 AM       968,727,390 tzip.zip
04/05/2012  08:07 AM           462,364 uzp.exe
03/21/2012  10:26 AM         1,603,584 wc.exe
03/06/2012  12:20 AM    <DIR>          xx8
               13 File(s)  1,071,302,938 bytes
               14 Dir(s)  49,315,860,480 bytes fre

H:\>uzp tzip.zip tz
unzipping: .\tzip.zip
finished! time: 17183 ms

02/18/2012  03:23 PM    <DIR>          test
04/05/2012  08:12 AM    <DIR>          tz
03/30/2012  11:28 AM       968,727,390 tzip.zip
04/05/2012  08:07 AM           462,364 uzp.exe
03/21/2012  10:26 AM         1,603,584 wc.exe
03/06/2012  12:20 AM    <DIR>          xx8
               13 File(s)  1,071,302,938 bytes
               15 Dir(s)  47,078,543,360 bytes free


The example supports several forms of commandline:
uzp zipFilename to unzip in current folder, or
uzp zipFilename destFoldername to unzip into the destination 
folder, or
uzp zipf1 zipf2 zipf3 destFoldername to unzip multiple zip files 
to dest folder, or
uzp zipf* destFoldername to unzip multiple zip files (wildarg 
expansion)to dest folder

It overwrites existing directory entries without asking in the 
current form.






More information about the Digitalmars-d-announce mailing list