Say I have a file foo.tbz2 in a directory. I want to extract the tar file from the archive, but to a different directory. It seems like bunzip2 will only extract the archive to the same directory as the archive.
This works, but I'm wondering if there is a better way:
cd /another/directory
bunzip2 -k /original/directory/foo.tbz2