Source

camlspotter.bitbucket.org / omy / _sources / OMyTar.txt

Full commit

==========================
OMyTar
==========================
Handling tar archives, such as .tar, .tar.gz, .tar.bz2, .tgz, .tbz

.. index::
    TarExtract()

TarExtract(f)

    Extract tar archive $(f). 

.. index::
    TarExtractAt()

TarExtractAt(f, dir)

    Extract $(f) to directory $(dir)

.. index::
    TarList()

TarList(f)

    Obtain the list of archived files in $(f)



.. index::
    TarAutoExtract()

TarAutoExtract(f, dir)

    Extract tar archive $(f) to directory $(dir).
    If the archive has more than one files or directories in its top directory structure,
    they are expanded into a newly created directory, whose name is from $(f).