如何提取fq.gz中的文件

gz or GZ files are compressed files using gzip algorithm or a related application. gz is natively created for Linux and Unix but currently supports all major operating systems like Windows, MacOS, BSD etc.

gzGZ文件是使用gzip算法或相关应用程序压缩的文件。 gz是为Linux和Unix本机创建的,但目前支持所有主要操作系统,例如Windows,MacOS,BSD等。

那些可以打开GZ文件的程序 (Programs Those Can Open GZ Files)

In this part we will provide the applications or programs those can be open, create, extract GZ files.

在这一部分中,我们将提供可以打开,创建,提取GZ文件的应用程序或程序。

视窗 (Windows)

  • File Viewer Plus

    File Viewer Plus
  • Corel WinZip

    Corel WinZip
  • WinRAR

    WinRAR
  • 7-Zip

    7拉链
  • PeaZip

    PeaZip

Linux (Linux)

  • gzip

    gzip
  • 7zip

    7zip
  • Ark

    方舟
  • PeaZip

    PeaZip
  • Xarchive

    Xarchive

苹果系统 (MacOS)

  • Smith Micro Stuffit Deluxe 16

    史密斯微型Stuffit Deluxe 16
  • Incredible Bee Archiver

    不可思议的蜜蜂存档器
  • Apple Archive Utility

    苹果存档实用程序

列出GZ文件属性(List GZ Files Attributes)

Linux(Linux)

We can use command line native gzip command in order to list gz for the following attributes.

我们可以使用命令行本机gzip命令来列出gz的以下属性。

  • File Contents

    文件内容
  • Compressed File Size

    压缩文件大小
  • Uncompressed File Size

    未压缩的文件大小
  • Compression Ratio

    压缩率

We will use gzip command with the -l option like below.

我们将gzip命令与-l选项一起使用,如下所示。

$ gzip -l exec.c.gz

视窗 (Windows)

Windows operating system provides a lot of files to list gz file attributes. Some applications which can be used are WinZip, RAR, 7zip, etc. In this example, we will use 7zip. We will right-click to the gz file and then hover over 7z and then click Open archive.

Windows操作系统提供了很多文件来列出gz文件属性。 可以使用的一些应用程序是WinZip,RAR,7zip等。在此示例中,我们将使用7zip。 我们将右键单击gz文件,然后将鼠标悬停在7z上方,然后单击Open archive

Open GZ File In Windows with 7zip
在Windows中使用7zip打开GZ文件

We will click to the Info which will open Properties screen.

我们将单击“ Info ,这将打开“ Properties屏幕。

Open GZ File In Windows with 7zip
在Windows中使用7zip打开GZ文件

In properties screen, we will get the following information.

在属性屏幕中,我们将获得以下信息。

  • Uncompressed File Size

    未压缩的文件大小
  • Compressed File Size

    压缩文件大小
  • Folder Count

    文件夹数
  • File Count

    文件计数
  • CRC info

    CRC信息
  • Path

    路径
  • Compression Type

    压缩类型
  • Header Size

    标头大小

创建GZ文件(Create GZ File)

Creating gz file is very easy for both Linux and Windows operating systems.

对于Linux和Windows操作系统,创建gz文件非常容易。

Linux (Linux)

We will use gz command and provide the file name. After compression is completed a gz extension file will be created.

我们将使用gz命令并提供文件名。 压缩完成后,将创建一个gz扩展文件。

视窗 (Windows)

In Windows, we will use 7zip tool like below.Rigth Click->7-Zip->Add to archive

在Windows中,我们将使用如下所示的7zip工具。 Rigth Click -> 7-Zip -> Add to archive

Create GZ File In Windows with 7zip
在Windows中使用7zip创建GZ文件

We will create the gz file by selecting gzip as Archive format.

我们将通过选择gzip作为存档格式来创建gz文件。

Create GZ File In Windows with 7zip
在Windows中使用7zip创建GZ文件

提取GZ文件(Extract GZ File)

Linux(Linux)

We can open existing gz file with the gunzip command like below.

我们可以使用gunzip命令打开现有的gz文件,如下所示。

$ gunzip exe.c.gz

视窗 (Windows)

In Windows Right Click->7-Zip->Extract Here

在Windows中, Right Click -> 7-Zip > Extract Here

Extract GZ File In Windows with 7zip
在Windows中使用7zip提取GZ文件

Tar.gz文件(Tar.gz Files)

Especially in Linux and Unix environments tar.gz is a very popular file extension. Tar is used to make a list of files a single file where gzip can easily compress the single file.

尤其是在Linux和Unix环境中, tar.gz是非常流行的文件扩展名。 Tar用于使文件列表成为单个文件,其中gzip可以轻松地压缩单个文件。

LEARN MORE  Linux gtar Command Tutorial with Examples and Compare with Tar 通过示例了解更多Linux gtar命令教程,并与Tar进行比较

翻译自: https://www.poftut/what-is-gz-extension-file-type-how-to-create-extract-and-open-gz-file/

如何提取fq.gz中的文件

更多推荐

如何提取fq.gz中的文件_什么是GZ文件类型或扩展名? 如何创建,提取和打开Gz文件?...