Untar

Description

Untars a tarfile.

Note: File permissions will not be restored on extracted files.

For JDK 1.1 "last modified time" field is set to current time instead of being carried from tarfile.

The untar task recognizes the long pathname entries used by GNU tar.

Parameters

Attribute Description Required
src tarfile to expand. Yes
dest directory where to store the expanded files. Yes

Examples

<gunzip src="tools.tar.gz"/>
<untar src="tools.tar" dest="${tools.home}"/>


Copyright © 2000,2001 Apache Software Foundation. All rights Reserved.