tar: Reading, writing and manipulating ".tar" archive files.

[ bsd3, codec, library ] [ Propose Tags ]

This library is for working with ".tar" archive files. It can read and write a range of common variations of archive format including V7, POSIX USTAR and GNU formats.

It provides support for packing and unpacking portable archives. This makes it suitable for distribution but not backup because details like file ownership and exact permissions are not preserved.

It also provides features for random access to archive content using an index.


[Skip to Readme]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1, 0.1.1, 0.1.1.1, 0.1.1.3, 0.3.0.0, 0.3.1.0, 0.3.2.0, 0.4.0.0, 0.4.0.1, 0.4.1.0, 0.4.2.0, 0.4.2.1, 0.4.2.2, 0.4.3.0, 0.4.4.0, 0.4.5.0, 0.5.0.0, 0.5.0.1, 0.5.0.2, 0.5.0.3, 0.5.1.0, 0.5.1.1, 0.6.0.0, 0.6.1.0, 0.6.2.0 (info)
Change log changelog.md
Dependencies array (<0.6), base (>=4.11 && <5), bytestring (>=0.10 && <0.13), containers (>=0.2 && <0.8), deepseq (>=1.1 && <1.6), directory (>=1.3.1 && <1.4), filepath (<1.6), os-string (>=2.0 && <2.1), tar, time (<1.13), transformers (<0.7) [details]
License BSD-3-Clause
Copyright 2007 Bjorn Bringert <bjorn@bringert.net> 2008-2016 Duncan Coutts <duncan@community.haskell.org>
Author Duncan Coutts <duncan@community.haskell.org> Bjorn Bringert <bjorn@bringert.net>
Maintainer Bodigrim <andrew.lelechenko@gmail.com>
Category Codec
Bug tracker https://github.com/haskell/tar/issues
Source repo head: git clone https://github.com/haskell/tar.git
Uploaded by Bodigrim at 2024-01-28T22:08:33Z
Distributions Arch:0.5.1.1, Debian:0.5.1.1, Fedora:0.5.1.1, FreeBSD:0.4.2.1, LTSHaskell:0.5.1.1, NixOS:0.5.1.1, Stackage:0.6.2.0, openSUSE:0.5.1.1
Reverse Dependencies 54 direct, 55 indirect [details]
Downloads 139191 total (536 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-01-28 [all 1 reports]

Readme for tar-0.6.1.0

[back to package description]

tar Hackage

This library is for working with .tar archive files. It can read and write a range of common variations of archive format including V7, POSIX USTAR and GNU formats. It provides support for packing and unpacking portable archives and features for random access to archive content using an index.

For a quick start with the API look at htar/htar.hs, which implements a very basic tar command-line tool.

To run benchmarks download 01-index.tar into the package folder:

wget https://hackage.haskell.org/01-index.tar
cabal bench