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.
_______________________________________________
Lzip-bug mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lzip-bug