Try this dude... It will helps....
tar -jxvf filename.tar.bz2
http://www.freebsddiary.or
Main Topics
Browse All TopicsHi All -
I am trying to install the replication for the postgres. I downloaded the file it has extension
tar.bz2.tar.
How can get the contents to a folder? thanks in advance . This is on Solaris 10
Regards
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Try this dude... It will helps....
tar -jxvf filename.tar.bz2
http://www.freebsddiary.or
Hi
U can go through the below comments.It will help U.
tar -xzf tar-file-name.tar.gz
Here is the command explanation:
* tar - the tar command.
* x - extract the archive.
* z - uncompress the archive using gzip.
* f - use archive file.
* tar-file-name.tar.gz - the name of the tar.gz to create.
The tar command will extract all the files/folders in the archive to the current directory.
Thanks Arun P
The -z option is to uncompress gzip (.gz) files and I am not sure that -z is a valid option on all Solaris versions.
-z is an option on GNU tar.
use the file command to determine whether the file you are looking at is an archive (tar) compressed file with gzip, bzip2 etc.
one you know what you are dealing with, you can go a step at a time i.e. decompress the file with the appropriate tool. Check the new file to determine its type and go from there.
-cd for gzip or bzip2 means decompress and output the data stream to standard out.
-xf - option for tar means read from extract and force if issues while reading the data from standard input.
Business Accounts
Answer for Membership
by: arnoldPosted on 2009-09-28 at 11:44:45ID: 25442037
bzip2 -cd < filename | tar -vtf -
This uncompresses the file and lists the table of contents of the tar.
bz2 is uncompressed with bzip2
run
file filename
This will tell you the type of the file in the event someone added the extention by mistake.
bzip2 -cd < filename.tar.bz2 | tar -xf -
the above will decompress the file and then extracts the contents accordingly.