bzip2 question

Olt, Joseph jolt at ti.com
Tue Oct 26 18:14:09 UTC 2010


Jeff,

Bzip2 is a compression format.  A single file is compressed.  If there are multiple files, then it is probably a tar.bz2 file.  So you will need to uncompress it and add files to the tar file then recompress it.

$ bunzip2 file.tar.bz2
$ tar rf file.tar anotherfile
$ bzip2 file.tar

--
Joseph Olt

<mailto:jolt at ti.com301-407-9310>
From: redhat-sysadmin-list-bounces at redhat.com [mailto:redhat-sysadmin-list-bounces at redhat.com] On Behalf Of Jeff Poling
Sent: Tuesday, October 26, 2010 1:51 PM
To: redhat-sysadmin-list at redhat.com
Subject: bzip2 question

Sorry for the basic question.  I am still getting up to speed after taking over our linux admin role.  I have a file that I need to add to an existing bz2 file.  How do I do that?

Thanks,

Jeff

Jeffrey Poling
System Administrator | Information Systems
Moody Bible Institute
820 N. LaSalle Blvd., Chicago, IL 60610
312-329-8968
www.moodyministries.net<http://www.moodyministries.net>
>From the Word. To Life.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/redhat-sysadmin-list/attachments/20101026/baf3c1f7/attachment.htm>


More information about the redhat-sysadmin-list mailing list