|
#1
|
|||
|
|||
File Masks Problem
Hi,
I am trying to use the ZIP action to zip up the source code in a full directory tree of C# Solutions. THe problem I'm having is that I want to exclude the bin\debug, bin\release and obj folders under a project. Accordingly, I've got no masks in the Include section, and the following masks in the exclude section: /Bin* /Obj* Unfortunately, the bin and debug and their content folders remain. Note: I've got Include Subfolders checked. Any help would be muchly appreciated. Thanks, Greg |
#2
|
|||
|
|||
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., /xyz/Project1/bin*, etc.).
One option would be to specify file masks for the types of files in these folders (i.e., *.dll, *.obj, etc.). Another option would be to first use the Copy Files action to create a folder structure with just the files to be zipped (since its directory include/exclude capabilities do match at all levels when recursing), then ZIP that folder (without exclusions). |
#3
|
|||
|
|||
This is supported in the Enhanced ZIP Files action in v8.0.
|
|
|