Guide contents

This module compresses one or more files, either to a specified destination folder, or in-place. Where "in-place" means that the compressed output file(s) will have the same target folder that the source file(s) came from.

In regular usage, the files are compressed as they are copied or moved to their destination with each file that is being compressed having the same root filename as the original source file. Note that the file extension will be changed to denote the file as being compressed. Thus, a file that came from the source list of files with the filename "Chain Quarterly Inventory Results 2012.xlsx" will become "Chain Quarterly Inventory Results 2012.xlsx.zip". Each compressed file in the destination has the same base source filename as the original file did.

The parameters that the module uses are detailed in the following table.

Parameter I/O Description
FileSource In This is a list of paths to existing files for the module to process. There should be one or more entries for the module to process.
Action In Copy: Copies the source files to the destination.
Move: Copies the source files to the destination and then deletes from the source folder the files that were copied.
DestinationFolder In This should be a full path to the folder where you want your compressed output files to be written to. A path can be specified as a local path, or as a UNC path. Examples:
D:\Sales\DailyDetailArchive
\ServerName\ShareName\Sales\DailyDetailArchive
FilePrefix In This string, plus an underscore ("_") character is added to the start of each destination filename when specified.
LogOutputLevel In Minimal: Normal output to the log.
Verbose: More detailed output is written to the log, suitable for debugging purposes.
FileList Out On a successful outcome, this will be a list of the files written to the compressed file(s).
An unhandled error has occurred. Reload 🗙