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.


Personal Tools