erl_tar

erl_tar

Module

erl_tar

Module summary

Unix 'tar' utility for reading and writing tar archives.

Description

This module archives and extract files to and from a tar file. This module supports the ustar format (IEEE Std 1003.1 and ISO/IEC 9945-1). All modern tar programs (including GNU tar) can read this format. To ensure that that GNU tar produces a tar file that erl_tar can read, specify option --format=ustar to GNU tar.

By convention, the name of a tar file is to end in ".tar". To abide to the convention, add ".tar" to the name.

Tar files can be created in one operation using function create/2 or create/3