Using tar and gzip to compress/uncompress files

From Docswiki
Jump to navigation Jump to search

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