ztar-0.0.1: Creating and extracting compressed tar archives

MaintainerBrandon Chinn <brandonchinn178@gmail.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Codec.Archive.Tar.GZip

Description

Functions to create/extract compressed tar archives.

Synopsis

Documentation

createGZ :: FilePath -> FilePath -> [FilePath] -> IO () Source #

Create a new .tar file from a directory of files.

It is equivalent to calling the standard tar program like so:

$ tar -f tarball.tar -C base -c dir -z

See create for more details.

extractGZ :: FilePath -> FilePath -> IO () Source #

Extract all the files contained in a .tar file.

It is equivalent to calling the standard tar program like so:

$ tar -x -f tarball.tar -C dir -z

See extract for more details.