class gladier_tools.posix.untar.UnTar(alias: str = None, alias_class: ToolAlias = None)


The UnTar tool makes it possible to extract data from Tar archives. FuncX Functions:

  • untar (funcx_endpoint_compute)

  • untar_input – Input directory to archive.

  • untar_output – (optional) output file to save the new archive. Defaults to the original # noqa input file with an extension ‘.tgz’ removed.

  • funcx_endpoint_compute – By default, uses the compute funcx endpoint. # noqa

Returns path:

The output location of the extracted archive

  • ValueError – If any files within the tar would extract to a non-relative location

  • FileNotFoundError – If the file does not exist.