An archive like a .zip
, .rar
or .7z
consists of many files bundles together and compressed. A .tar
archive consists of many files bundled together, but the tar format does not include any compression. A .gz
, .bz2
or .xz
file is a single compressed file. A .tar.gz
, .tar.bz2
, etc. is a compressed archive; .tbz
is a suffix that is occasionally used instead of .tar.bz2
, just like how .tgz
is sometimes used instead of .tar.gz
.
bzip2 -d /tmp/itunes20140618.tbz
uncompresses the file. You're left with the uncompressed tar archive. bzip2
doesn't create a tar: it decompresses what is given to it, and since it is given a compressed tar, the output is an uncompressed tar. You can untar the resulting file with tar -xf /tmp/itunes20140618.tar
. To extract just one file, that's tar -xf /tmp/itunes20140618.tar itunes20140618/video
.
Reasonably recent versions of tar on Linux, FreeBSD, MINIX3 and OSX automatically detect compressed archives, so you can call tar in the first place without worrying about the compression used on the archive:
tar xf itunes20140618.tbz itunes20140618/video
Older versions of tar, as well as many systems today such as OpenBSD, Solaris and Linux with BusyBox, can at least call bzip2
under the hood even if you have to tell them explicitly with the -j
option.
tar -xjf itunes20140618.tbz itunes20140618/video