Difference between revisions of "Using tar and gzip to compress/uncompress files"

From CUC3
Jump to navigation Jump to search
import>Mp466
 
import>Mp466
 
Line 1: Line 1:
 
Compress with bzip2 directory temp
 
Compress with bzip2 directory temp
   
tar cvfj temp temp.tar.bz
+
tar cvfj temp.tar.bz temp
   
 
Uncompress with bzip2 directory temp
 
Unompress with bzip2 directory temp
 
   
 
tar xvfj temp.tar.bz
 
tar xvfj temp.tar.bz

Latest revision as of 13:31, 13 June 2008

Compress with bzip2 directory temp

tar cvfj temp.tar.bz temp

Uncompress with bzip2 directory temp

tar xvfj temp.tar.bz

Cat compressed file

bzcat temp.bz