PDA

View Full Version : Zip files Include and exclude masks


Hess_Joel
01-15-2009, 09:52 AM
I have files:

x.resx
x.fr.resx
x.de.resx
y\y.resx
y\y.fr.resx
y\y.de.resx


I want to get all the .resx but not the fr.resx or de.resx recursively.

I've set Include to *.resx and exclude to *.fr.resx, and I get 0 files in my zip.

How should I set this up?

kinook
01-15-2009, 11:40 AM
The 3rd party ZIP component used by the ZIP Files action appears to have trouble with excluding double-extension filenames (i.e., *.fr.resx).

You could use the Copy Files action (which does support masks like that) to copy the desired files to a temp folder and then ZIP that folder without exclusions.

Another option would be to use the 7-Zip action.
http://www.kinook.com/VisBuildPro/Manual/7zip.htm

kinook
02-22-2012, 03:08 PM
This is supported in the Enhanced ZIP Files action in v8.0.