Lumalab

Search entriesDeutsch English
  
User:   Password:    
Forum > Linux > Archive with Tar, Gzip & Bzip2
StartStopPage 1 of 1StopEnde
Author: EngysTopic: Archive with Tar, Gzip & Bzip2Last change: 2013-10-04 16:35:41 

Tar compression without displaying compressed files:

tar -czf name.tar.gz /etc/ /home/

Tar compression display compressed files:

tar -czvf name.tar.gz /etc/ /home/

Parameter description:

-c compress
-j --bzip2
-z --gzip
-v verbose
-f file

Gzip-Tar decompression in separate steps:

gunzip name.tar.gz
tar -xvf name.tar

Tar-Gzip decompression:

tar -zxvf name.tar.gz

Display Tar-Gzip content:

tar -tzvf name.tar.gz

Parameter description:

-x extract => decompress
-t list archiv files
-z --gunzip
-f file

UpReply 
StartStopPage 1 of 1StopEnde