This is an old revision of the document!


How to extract tar.bz2 files

GNU tar supports a -j flag, which allows extraction of tar.bz2 files without a pipeline:

tar -xvjf archivefile.tar.bz2

Inside DSM-G600 you can't use -j flag, so there you must use a pipeline:

/mnt/HD_a2/bzcat archivefile.tar.bz2 | /mnt/HD_a2/tar -xvf -

bzcat is symlink to bzip2.


In windows you can use number of different software to extract tar.bz2 files: WinRAR, bzip2+tar for windows and wbzip2 with GUI.


Personal Tools