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

Version on this page:
LTS Haskell 21.23:
Stackage Nightly 2023-12-03:
Latest on Hackage:

See all snapshots tar appears in

Maintained by Duncan Coutts
This version can be pinned in stack with:tar-,2861

Module documentation for

This library is for working with ".tar" archive files. It can read and write a range of common variations of archive format including V7, USTAR, POSIX 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.

Changes Edsko de Vries edsko@well-typed.com October 2015

  • Fix bug in Index Duncan Coutts duncan@community.haskell.org July 2015

  • Fix tests for the Index modules (the code was right) Duncan Coutts duncan@community.haskell.org July 2015

  • New Index module for random access to tar file contents
  • New lower level tar file I/O actions
  • New tarball file ‘append’ action Duncan Coutts duncan@community.haskell.org January 2015

  • Build with GHC 7.10
  • Switch from old-time to time package
  • Added more instance for Entries type Duncan Coutts duncan@community.haskell.org October 2012

  • fixes to work with directory 1.2
  • More Eq/Ord instances Duncan Coutts duncan@community.haskell.org February 2012

  • More explicit error types and error handling
  • Support star base-256 number format
  • Improved API documentation