Saturday, April 27, 2024

在Windows中将文件压缩成tar.gz的方法

tar.gz是UNIX/Linux中常见的文件压缩格式,在Windows中可以使用WinRAR等软件将其解压缩,但是如何在Windows中把文件压缩成tar.gz格式呢?下面讲一种比较简单的方法。

首先下载7-zip并安装,7-zip是类似于WinRAR的压缩软件,官方下载地址:http://www.7-zip.org/

在想要压缩的文件或文件夹上点右键,选择“7-zip”-“添加到压缩包”,压缩格式选择tar并确定,然后在得到的tar文件上再点右键,选择“7-zip”-“添加到压缩包”,压缩格式选择gzip,点击确定即可得到tar.gz的压缩格式。

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.