[Bug 6086] tar is broken on Android: resulting stream is too short and loses information

bugzilla at busybox.net bugzilla at busybox.net
Sun Aug 18 14:35:10 UTC 2013


https://bugs.busybox.net/show_bug.cgi?id=6086

--- Comment #7 from Denys Vlasenko <vda.linux at googlemail.com> 2013-08-18 14:35:33 UTC ---
(In reply to comment #6)
> > > 1|shell at android:/sdcard/flash $ tar -xvZf joe-3.7-android.tar.gz
> > > tar -xvZf joe-3.7-android.tar.gz
> > > tar: invalid magic
> > > tar: short read
> > 
> > -Z is for auto-decompress, no auto-gunzip
> So, as i understand, auto g-unzip is just not implemented yet? Is it planned to
> be implemented?

It is implemented:

$ busybox tar --help
BusyBox v1.22.0.git (2013-07-30 11:58:43 CEST) multi-call binary.

Usage: tar -[cxtZzJjahmvO] [-X FILE] [-T FILE] [-f TARFILE] [-C DIR] [FILE]...

Create, extract, or list files from a tar file

Operation:
    c    Create
    x    Extract
    t    List
    f    Name of TARFILE ('-' for stdin/out)
    C    Change to DIR before operation
    v    Verbose
    Z    (De)compress using compress
    z    (De)compress using gzip
    J    (De)compress using xz
    j    (De)compress using bzip2
    a    (De)compress using lzma
    O    Extract to stdout
    h    Follow symlinks
    m    Don't restore mtime
    exclude    File to exclude
    X    File with names to exclude
    T    File with names to include

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list