Kurinchi Blogger Scribbles …


Apr 21
2009

Gunzip, Bunzip, Unzip with tar

Last updated: April 6th, 2010

Bunzip, Unzip

To bunzip a folder, use the command

$ tar jcvf dump.tar.bz folder/

Transfer the file to the location of your choice. For e.g. /tmp and issue the following command to unzip

[/tmp] $ tar -jxvf dump.tar.bz

Gunzip, Unzip

To gunzip a folder, use the command

$ tar zcvf package.tar.gz folder/

To extract the file transfer the file to the location of your choice. For e.g. /tmp and issue the command

[/tmp] $ tar -zxvf package.tar.gz

Tags: , , , , , ,

Leave a Reply


Valid HTML 4.01 Strict  Valid HTML 4.01 Strict