Archive Under Linux (tar, Gz, Bz2, Zip) - Thomas-Krenn-Wiki
Maybe your like
On Linux-based operating systems, different archive formats are available. This article shows a list of the most common archive formats and the their parameters.
Contents
- 1 tar
- 2 gz, bzw. gzip
- 3 bz2, bzw. bzip2
- 4 zip
tar
The program tar originally stands for Tape Archiver, it was used to back up data to tape drives. It is still very popular and widespread today. A pure tar archive is not compressed.
- Extract an archive:
- Create an archive with files or folder:
- Create compressed archives:
- Show all files of an archive:
- We refer you to the manpage of tar for more information and parameters:
gz, bzw. gzip
As we know, a tar archive is not compressed without additional options, this can be done with the additional option gzip. gzip stands for GNU zip and the file extension .gz is appended to the tar archive.
- Create a compressed file:
- Decompress a file:
- Combining files in a compressed archive:
- Decompress and extract an archive:
bz2, bzw. bzip2
Besides gzip there is also bzip2, it is very similar to gzip, but uses a different algorithm.
- Create a compressed file:
- Decompress a file:
- Combining files in a compressed archive:
- Decompress and extract an archive:
zip
The tool zip is mainly used in Windows , but is also available for Linux-based operating systems.
- Combining individual files in a compressed archive:
- Combining complete folders in a compressed archive:
- Decompress and extract an archive:
- Show all files of an archive:
| Author: Thomas Niedermeier Thomas Niedermeier working in the product management team at Thomas-Krenn, completed his bachelor's degree in business informatics at the Deggendorf University of Applied Sciences. Since 2013 Thomas is employed at Thomas-Krenn and takes care of OPNsense firewalls, the Thomas-Krenn-Wiki and firmware security updates. |
Tag » Archive Gz Unix
-
How To Create Tar.gz File In Linux Using Command Line - NixCraft
-
How To Open A Tar.gz File In Linux / Unix - NixCraft
-
How To Compress And Extract Files Using The Tar Command On Linux
-
How To Unzip (Open) Gz File - Linuxize
-
How To Extract / Unzip Tar.gz Files From Linux Command Line
-
How To Open A GZ File In Linux
-
How Do I Create A GZ File In Unix?
-
How To Create A .tar.gz File On Linux
-
Use Tar To Combine Multiple Files Into An Archive File - IU KB
-
Linux Tar Command – How To Compress Files In Linux
-
Grep In A Tar.gz Archive | Baeldung On Linux
-
Using Tar & Gzip/Gunzip To Create Or Unzip GZ Files/TGZ ... - Nexcess
-
Count Number Of Compressed Files In A Tar.gz Archive
-
Tar [Wiki Ubuntu-fr]
