Name

gzip

Synopsis

Creates a GZip archive.

Attributes

src (all, File, Y)

The name of the file to compress.

zipfile (all, File, Y)

The name of the file to create.

Content

None.

Example Usage

Compresses manuscript.tar to manuscript.tar.gz:

<gzip src="manuscript.tar" dest="manuscript.tar.gz"/>

See Also

The gunzip task.

Get Ant: The Definitive Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.