summaryrefslogtreecommitdiff
path: root/tar/bsdtar.1
diff options
context:
space:
mode:
authorKevin Locke <kevin@kevinlocke.name>2014-01-11 16:38:52 -0700
committerKevin Locke <kevin@kevinlocke.name>2014-01-12 13:44:57 -0700
commitb66ce8c56072aae09601ed04f75888d94c0722e2 (patch)
treec49bd064cb0d88dcf61a4204499fe8afe0b4ef56 /tar/bsdtar.1
parenta6c076b1c844f41d471c06da1db770efe5518e20 (diff)
downloadlibarchive-b66ce8c56072aae09601ed04f75888d94c0722e2.tar.gz
[PATCH v3] Add read_concatenated_archives
As discussed in http://code.google.com/p/libarchive/issues/detail?id=348 the read_concatenated_archives option provides functionality similar to the GNUtar --ignore-zeros option in order to support reading from archives which have been concatenated together. Changes in v2: * Replace recursion with looping for reading concatenated archives. Changes in v3: * Improve comments about archive format detection and looping when reading concatenated archives. Signed-off-by: Kevin Locke <kevin@kevinlocke.name>
Diffstat (limited to 'tar/bsdtar.1')
-rw-r--r--tar/bsdtar.17
1 files changed, 7 insertions, 0 deletions
diff --git a/tar/bsdtar.1 b/tar/bsdtar.1
index 7bb6a608..b5ea1429 100644
--- a/tar/bsdtar.1
+++ b/tar/bsdtar.1
@@ -524,6 +524,13 @@ Use
.Ar type
as compression method.
Supported values are store (uncompressed) and deflate (gzip algorithm).
+.It Cm read_concatenated_archives
+Ignore zeroed blocks in the archive, which occurs when multiple tar archives
+have been concatenated together. Without this option, only the contents of
+the first concatenated archive would be read. This option is comparable to
+the
+.Fl i , Fl Fl ignore-zeros
+option of GNU tar.
.El
If a provided option is not supported by any module, that
is a fatal error.