Full Name: | herschel.ia.toolbox.util.DecompressTask |
Alias: | decompress |
Type: | Java Task -
![]() |
Import: | from herschel.ia.toolbox.util import DecompressTask |
Category |
Decompresses archives.
Decompresses a (relative path) compressed archive in a user-chosen directory Two first arguments are mandatory. Supported algorimths are: TAR, ZIP, GZIP (and TAR.GAZ).
Example 1: Untarring in temp directory | ||
---|---|---|
|
Jython Syntax |
---|
|
The archive will not be deleted.
String archive
[INPUT, MANDATORY, default=null]
|
|
---|---|
Path of the archive to be decompressed. |
String dirout
[INPUT, MANDATORY, default=null]
|
|
---|---|
Directory (that may not exist yet) where we want to decompress the archive. |
String compression
[INPUT, OPTIONAL, default="Guess"]
|
|
---|---|
Type of compression of the input file. Possible values are:
|
Boolean overwrite
[INPUT, OPTIONAL, default=True]
|
|
---|---|
If set to false, it will not update already existing files. |