CompressionAliases.

BZip2Compress(ICakeContext, DirectoryPath, FilePath, string) Method

Summary

Create a BZip2 Tar archive of the files matching the specified pattern.
Assembly
Cake.Compression.dll
Namespace
Cake.Compression
Containing Type
CompressionAliases

Syntax

public static void BZip2Compress(this ICakeContext context, DirectoryPath rootPath, FilePath outputPath, string pattern)

Examples

BZip2Compress("./", "xmlfiles.tar.bz2", "./*.xml");

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
rootPath DirectoryPath The root path.
outputPath FilePath The output path.
pattern string The pattern.

Return Value

Type Description
void