bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deleting a file causes other files to not be extracted from the archive


From: Michel Le Bihan
Subject: Deleting a file causes other files to not be extracted from the archive
Date: Tue, 12 Jan 2021 18:06:18 +0100
User-agent: Evolution 3.38.2-1

Hello,

I noticed that if I delete some files from some archives of git repos,
other files will not be extracted from the same archive.

Please see: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=944118

Another affected archive that I encountered:
Download the archive from GitHub
https://github.com/iBotPeaches/Apktool/archive/v2.5.0.tar.gz and gunzip
it or clone the repo and `git archive -o ../v2.5.0.tar v2.5.0`

Run `tar -f v2.5.0.tar --delete brut.apktool/apktool-
lib/src/main/resources/prebuilt`

Then extract the archive with `tar -xf v2.5.0.tar`

Many files won't be extracted that were present in the archive. If I
extract the `v2.5.0.tar` archive without deleting files, all the files
that were in the archive will get extracted.

Michel Le Bihan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]