Unpack

From S23Wiki
Jump to: navigation, search

How to unpack compressed files with the various different extentions.


.tar.gz

To uncompress a .tar.gz file, execute the following command:
 tar -xzfv filename.tar.gz

.gz

To uncompress a gzip file, execute the following command:
gunzip filename.txt.gz     


.tar

To uncompress a tar file, execute the following command:
tar -xvf example.tar

streaming tar to another server

see Backup streaming tar

.bz2

To uncompress a bzip2 file, execute the following command:

bunzip2 filename.txt.bz2     


.zip

To uncompress a zip file , execut the following command:
unzip filename.zip

Related

HowTo/UncompressFilesInLinux

Softcoder-Board: packen mit tar (und gz)