Zip Directories
The Zip Directories task allows you to Zip an entire directory and its sub-tree to a single zip archive. Each file in the directory is compressed, before being added to the zip archive. The biggest zip file that can be created is 4 GB.
Directory to Zip
Enter the full pathname of the
directory, where your source files exists.
Filename
Enter the
filename filter for the files you wish to copy using
the following wildcard rules. This field also supports dynamic
variables. Using dynamic variables, you can select a file
based on current date/time.
Folder Path Filter
Leave
this field blank if you want all folders to be processed. If you need
specific folders to be processed, then enter the folder name or path,
using the following wildcard rules.
If a folder passes the filter, then all its subfolders will also pass
the filter.
Simple Example: Folder = c:\test , subfolders =
john, john\old, sam, sam\old, joe, joe\old
Folder path filter =
john . john and john\old are processed
Folder
path filter = jo . john,
john\old, joe, joe\old are processed
Folder path filter = old
. sam\old, john\old, joe\old are processed
Folder path
filter = test . all files in c:\test
and its sub folders are processed
Folder path filter = john\old.
only john\old is processed.
Folder path filter = c:\test\john
. john and john\old are processed
Include sub directories
Select this option, if
you want to zip the entire sub directory tree below the main
directory.
Directory to place Zip Archive
Enter the full
pathname of the directory, where you need to put the newly created
zip archive.
Name for Zip Archive
Enter the filename for zip
archive. This field also supports dynamic
variables. Using dynamic variables, you can save the file,
to a customized name based on date/time, or username, or other
variable.
Append to Filename
You
can save each archive to a different filename, based
on current time/date, or on custom code you set.
Date Filter
If you need to filter files based on
file modified date, select this option. For the between option, enter
2 values separated by '-' (2-4 etc..). Examples:
Older than 5
Minute, Newer than 2 Day, Between 3-5 Day, Between 1-4 Hour