Kinook Software Forum

Kinook Software Forum (https://www.kinook.com/Forum/index.php)
-   [VBP] General Discussion (https://www.kinook.com/Forum/forumdisplay.php?f=2)
-   -   File Masks Problem (https://www.kinook.com/Forum/showthread.php?t=1750)

adrenium 05-17-2006 07:33 AM

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

kinook 05-17-2006 12:32 PM

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).

kinook 02-22-2012 03:10 PM

This is supported in the Enhanced ZIP Files action in v8.0.


All times are GMT -5. The time now is 02:35 AM.


Copyright © 1999-2023 Kinook Software, Inc.