May 2002
Intermediate to advanced
288 pages
10h 50m
English
gunzip
Expands a GZip file. The file is only expanded if the destination file does not exist or is older than the source file.
dest (all, String, N)The destination file or directory name. If omitted,
dest defaults to the directory containing the
source file. When dest is a directory, the
destination filename is the src name, minus any
.gz filename extension.
src (all, String, Y)The name of the file to unzip.
None.
Expand manuscript.tar.gz to
manuscript.tar in the same directory:
<gunzip src="manuscript.tar.gz"/>
Expand manuscript.tar.gz to
${builddir}/manuscript.tar:
<gunzip src="manuscript.tar.gz" dest="${builddir}"/>Use the untar task to expand the tar file after
unzipping it.
Read now
Unlock full access