Thursday, August 4, 2011

How to Create .bz2 files in Linux/Unix Server?


Create:
-------

tar -cvjf test.tar.bz2 test1 test2

tar -cfz  blah.tar.gz *.db


Extract:
----------
tar xvjf test.tar.bz2
tar -xzvf something.tar.gz