From 71a4cae83d38657cd5cd65952dcdf02918384575 Mon Sep 17 00:00:00 2001 From: Dave Vasilevsky Date: Sat, 6 Aug 2011 16:34:13 -0300 Subject: [PATCH] Warning about data-loss when assuming tarball-mode. --- README | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README b/README index 8f70959..dcfa909 100644 --- a/README +++ b/README @@ -41,6 +41,8 @@ $ pixz -t foo.tar # Compress but don't treat it as a tarball (don't in $ pixz -d -t foo.tpxz # Decompress foo, don't check that contents match index $ pixz -l -t foo.tpxz # List the xz blocks instead of files +WARNING: Running pixz without the -t flag will cause it to treat the input as a tarball, as long as it looks vaguely tarball-like. This means if the file starts with at least 1024 zero bytes, pixz will assume it's empty, and truncate the output! If your input files aren't tarballs, run with -t or face possible data-loss. + Compare to: plzip