Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 01-15-2010, 01: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, 02:10 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
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, 01:34 PM
kinook kinook is online now
Administrator
 
Join Date: 03-06-2001
Location: Colorado
Posts: 6,003
This is supported in the Enhanced ZIP Files action in v8.0.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 06:32 AM.


Copyright © 1999-2023 Kinook Software, Inc.