Posted By

cbrant on 06/10/08


Tagged

tar bzip2 bunzip2


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

cbrant


Archive using tar and bzip2


 / Published in: Bash
 

Quick example of how to compress and decompress archives using tar and bzip2.

  1. To create a bzip2-compressed tar-file:
  2.  
  3. tar -cjf archivefile.tar.bz2 file-list
  4.  
  5.  
  6. Decompressing in GNU tar:
  7.  
  8. tar -xjf archivefile.tar.bz2

Report this snippet  

You need to login to post a comment.