You are reading help file online using chmlib.com
|
WinZip Pro feature |
Filters are used to refine your file selections. For example, you can use exclude filters to skip files that match wildcard patterns that you specify, and you can use include filters to zip only files matching wildcard patterns.
For example, suppose you want to zip a folder and all of its subfolders, but you do not want to zip files with a BAK extension. You could do this by going into the Select Items dialog and unchecking all of the .BAK files, but this is tedious, and any new .BAK files would get zipped.
A better way is to create an exclude filter for "*.BAK". The exclude filter causes WinZip® to skip any files matching the filter's file specification (which typically uses wildcards).
On the other hand, suppose you want to zip only the DOC and XLS files in the folders that you have selected. Again, the easiest way is to use a filter, in this case an include filter. By specifying "*.DOC" and "*.XLS" as include filters, only DOC and XLS files will be zipped.
Exclude and include filters work slightly differently.
For example, if you've specified *.DOC and *.BAK as include filters, and you have checked the folders C:\Folder1 and C:\Folder2, the four actual file specifications used by WinZip during zipping will be:
C:\Folder1\*.DOC
C:\Folder2\*.DOC
C:\Folder1\*.BAK
C:\Folder2\*.BAK
Notes on include filters:
You can use exclude filters to exclude entire folders. For example, suppose you have the following folders and that you have checked C:\Test in the Select Items dialog:
C:\Test\A\B\10
C:\Test\A\B\11
C:\Test\A\B\20
C:\Test\A\B\21
If you want to zip the two folders beginning with "2" (20 and 21) but skip the two folders beginning with "1" (10 and 11), the following exclude filter would do the job:
*\B\1*\*
The Filters dialog has two tabs, one for include filters and one for exclude filters. Click the tab for the type of filter you want to work with. Then:
Click OK when you are done. Note that filters do not appear
in the list of items in the Select Files/Folders dialog.