467,104 Members | 964 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,104 developers. It's quick & easy.

tar file

hi,
How to convert bz2 file into untar file.what is the syntax .
for example bib-9-9-2008-20-0-1.tar.bz2
Can any one help me.
Sep 10 '08 #1
  • viewed: 1267
Share:
3 Replies
numberwhun
Expert Mod 2GB
First, when you post an article and then have additional information, being the creator you can edit it and add / subtract to and from it. No need to create a second post as it clutters up the forum. I have deleted your duplicate thread.

Second, when trying to do something with Perl, it is always advisable to first search CPAN . That is where we all find the modules we need.

If you look, there are modules to undo zipped files and to also unpack tar files. All you have to do is search and you will find. If you have exhausted all of your avenues for figuring out how to do something, feel free to post here.

Once you have written code to do what you have said you want to do, if it has problems, post it here (enclosed in code tags please) and we will help you get it working.

Regards,

Jeff
Sep 10 '08 #2
to untar the file 'bib-9-9-2008-20-0-1.tar.bz2 '

run the command :

bzip2 -d bib-9-9-2008-20-0-1.tar.bz2


then you will get bib-9-9-2008-20-0-1.tar

then run

tar -xvf bib-9-9-2008-20-0-1.tar
Sep 12 '08 #3
numberwhun
Expert Mod 2GB
to untar the file 'bib-9-9-2008-20-0-1.tar.bz2 '

run the command :

bzip2 -d bib-9-9-2008-20-0-1.tar.bz2


then you will get bib-9-9-2008-20-0-1.tar

then run

tar -xvf bib-9-9-2008-20-0-1.tar
Being that this is a Perl forum and not a *nix forum, don't you think they might have wanted a Perl solution to do this? See my response above.

Regards,

Jeff
Sep 12 '08 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

2 posts views Thread by matt | last post: by
7 posts views Thread by Joseph | last post: by
3 posts views Thread by StGo | last post: by
3 posts views Thread by Shapper | last post: by
reply views Thread by thjwong@gmail.com | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.