Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-15-2010, 02:00 PM
Hess_Joel Hess_Joel is offline
Registered User
 
Join Date: 04-06-2004
Posts: 11
Exclude Folders from Zipping

I'm trying to use the Zip Files action to recursively add files and folders to a zip file, but I don't want it to include the .svn folders that are scattered about.

I've tried tried a number of different variations on the exclude properties and can't get it to ignore them.

here's an example of the directory structure.

--HardDisk
|_.svn
|_Folder1
|_Folder2
|_.svn
|_sub1
|_sub2
Reply With Quote
  #2  
Old 01-15-2010, 03:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
For directory exclusion in the ZIP Files action, the mask must include the directory path as it would appear in the zip file after the zip operation concludes (i.e., /_Folder2/.svn, etc.).

Also, the 3rd party ZIP component used by the ZIP Files action appears to have problems excluding folder names containing dots.

You could use the Copy Files action to copy the desired files to a temp folder (since it doesn't have the above limitations) and then ZIP that folder without exclusions.

Another option might be to use the 7-Zip action.
http://www.kinook.com/VisBuildPro/Manual/7zip.htm
Reply With Quote
  #3  
Old 02-22-2012, 02:34 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,034
This is supported in the Enhanced ZIP Files action in v8.0.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 04:07 PM.


Copyright © 1999-2023 Kinook Software, Inc.