tar.gz和tgz是同一回事吗? [英] Are tar.gz and tgz the same thing?

查看:97
本文介绍了tar.gz和tgz是同一回事吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我用 tar czvf file 命令创建了.tgz文件,然后我得到了一个tgz文件.我想知道它和tar.gz之间的区别.

I created .tgz file with tar czvf file command.then I ended up with a tgz file. I want to know the difference between it and tar.gz.

推荐答案

我认为在旧的软件包回购日中,使用.tgz是因为Dos软盘上的文件只能具有三个字母扩展名.删除此限制后,.tar.gz会通过显示存档类型(tar)和拉链(gzip)来变得更加冗长.

I think in the old package repo days, .tgz was used because files on Dos floppies could only have three letter extensions. When this limitation was removed .tar.gz was used to be more verbose by showing both the archive type (tar) and zipper (gzip).

它们是相同的.

这篇关于tar.gz和tgz是同一回事吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆