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:[email protected]>
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jeff Poling
Sent: Tuesday, October 26, 2010 1:51 PM
To: [email protected]
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.

--
redhat-sysadmin-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-sysadmin-list

Reply via email to