lzip-bug
[Top][All Lists]
Advanced

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

Re: [Lzip-bug] list the file names in .tar.lz


From: Antonio Diaz Diaz
Subject: Re: [Lzip-bug] list the file names in .tar.lz
Date: Sun, 21 Jul 2019 23:26:37 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Hi Avinash,

avinash via Lzip-bug wrote:
can u plz clarify,  how to list the names of individual file names in
a lzip archive,  and alsohow to extract a specific file in lzip
archive. ( the compressed file contains multiple files inside).

Listing and extracting files from a tar archive (compressed or not) is the task of the tar archiver, not of the compressor.

In the case of tar.lz archives created with tarlz (or with other tar archiver using the POSIX pax format), you can list and extract files using tarlz[1].

[1] http://www.nongnu.org/lzip/tarlz.html
    http://www.nongnu.org/lzip/manual/tarlz_manual.html#Examples

To list 'file' from 'archive.tar.lz' use:

  tarlz -tvf archive.tar.lz file

To extract 'file' from 'archive.tar.lz' use:

  tarlz -xf archive.tar.lz file

If the tar.lz archive is not in POSIX pax format, you can list and extract files from it using GNU tar[2].

[2] http://www.gnu.org/software/tar/manual/html_node/gzip.html#SEC135


Best regards,
Antonio.



reply via email to

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