Zip Matching Pattern Builder

media_1481895669126.png

File Path – the variable that will containe the path to where the zip file will be saved as.

Note: the variable will need to be set prior to this point in the script.

media_1481895691218.png

Choose Yes if the zip file will be password protected.

Password – the variable that will contain the password.

Note: the password variable will need to be set prior to this point in the script.

media_1481895700716.png

Local Directory – the variable that will contain the local directory path that will be added to the final zip file. Note: the variable will need to be set prior to this point in the script.

Keeping the Folder Structure – click Yes to maintain folders and the structure of child folders. Click No will just add all content to the zip file without any structure.

media_1481895714508.png

Matching Pattern – add all files that match a pattern to a zip file.

Example: setting the pattern to *.png will zip only png files.

Created Script

media_1481895735024.png

New Zip File – returns a new ZipItem.

Set Password – sets the password for the ZipItem.

Add Matching Pattern – adds a pattern that will be used when zipping content.

media_1481895741761.png

Create Zip File – adds the contents and generates the zip file.

Close Zip – closes the ZipItem.