erl_tar
erl_tar
Module
erl_tar
Module summary
Unix 'tar' utility for reading and writing tar archives
Description
The erl_tar
module archives and extract files to and from a tar file. erl_tar
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, give the --format=ustar
option to GNU tar.
By convention, the name of a tar file should end in ".tar
". To abide to the convention, you'll need to add ".tar
" yourself to the name.
Tar files can be created in one operation using the create/2
or 登录查看完整内容