ckolivas / lrzip

Long Range Zip
http://lrzip.kolivas.org
GNU General Public License v2.0
618 stars 76 forks source link

lrz: Does not remove incomplete file #129

Closed ole-tange closed 3 years ago

ole-tange commented 5 years ago

Compare:

gzip foo & pid=$!; sleep 1; kill $!; ls -l foo*
lrz foo & pid=$!; sleep 1; kill $!; ls -l foo*

lrz -d foo.lrz & pid=$!; sleep 1; kill $!; ls -l foo*
gzip -d foo.gz & pid=$!; sleep 1; kill $!; ls -l foo*

foo{.gz,.lrz,} are big files that cannot be (de)compressed in a single second.

To make it more compatible with gzip incomplete files should be removed.

ckolivas commented 3 years ago

Fixed in git master.