How to extract .tar.bz2?
Emily Wong
I'm downloading an engine game file which is compressed as .tar.bz2.
I'm trying this command
tar -zxvf enginsxt.tar.bz2And it throws an error. I know that command
tar -zxvfis only for extracting .tar.gz files, but how can I decompress this one?
1 Answer
Have you checked the man page for tar?
Here is the part that I extracted from man page of tar for bz2:
-j, --bzip2 filter the archive through bzip2Remove -z from your options and (optionally) add -j to extract your tar archive correctly:
tar -xvjf enginsxt.tar.bz2 2