Zipit.exe update existing .zip

Mar 23, 2011 at 12:32 AM

Absolutely a great project! I was using the Zipit.exe to freshen/update an existing .zip file. 

I'm trying something like:

Z:\temp\Downloads\ZipLib\DotNetZipUtils-v1.9\zipit.exe Z:\OSSMobile1\Backups\drived.zip -d c:\temp -D omni -r+

where:

drived.zip already exists

c:\temp is the folder to recurse

omni is the folder within the drived.zip to append/update to

Is this possible?

Coordinator
Mar 25, 2011 at 12:28 PM

yes, it is possible.

have you tried it?  did it not meet your expectations?  If so, what's the problem?

Apr 2, 2011 at 6:30 PM

Works great! Can selectors exclude by subfolder name possible?

D:\temp\Downloads\ZipLib\DotNetZipUtils-v1.9\zipit.exe D:\OSSMobile1\Backups\drived.zip -r+ -d omni -D I:\omni "name = *.* and attrs 
!= H"

would like to also exlude any subfolders found during recursion where subfolder name != "_vti_cnf_" or something like folder name != "*_vti*"

Coordinator
Apr 4, 2011 at 6:02 PM

yes, you can specify matching on filenames or directory names, and you can ue wildcards.  You may need to do sth like this:

name != "./*_vti*/*.*"

In other words, prefix the pattern for the filename, with a ./