Archive using tar and bzip2


/ Published in: Bash
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.