QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3746|回复: 5

扩展名为tgz的是用什么压缩的,用何解压?

[复制链接]
发表于 2002-11-17 17:09:43 | 显示全部楼层 |阅读模式
rt
发表于 2002-11-17 17:12:48 | 显示全部楼层
.tgz suffix is a usual abbreviation of the .tar.gz suffix.  For those who still have no clue, it is gzipped tar archive file.

# tar -zxf *.tgz
should be able to decompress it.
回复

使用道具 举报

发表于 2002-11-17 18:04:17 | 显示全部楼层
tgz是跟tar.gz是一样的。
回复

使用道具 举报

 楼主| 发表于 2002-11-17 18:29:28 | 显示全部楼层
可以肯定,是不一样的,因为我在命令行下可以解开,但是用File Roller却不可以打开。
回复

使用道具 举报

发表于 2002-11-17 19:29:39 | 显示全部楼层
你试过把后缀改成.tar.gz再打开没有?
回复

使用道具 举报

发表于 2002-11-17 20:10:28 | 显示全部楼层
I agree with dalin:  .tgz should be the same as .tar.gz -- though in Linux the suffix is not mandatory, you can name a file with any extension you want, as long as you know what the file is and treat it properly.  I can rename a file foo.tar.gz to foo.txt -- though it is not a text file, and I can not open it with a text editor. But actually nothing changes, I can still decompress it with tar -zxf foo.txt.

However some other applications use these suffix extensions.  I do not know what a ``file roller'' excatly is, but I am assuming it use some MIME type.  It may not be able to recognize .tgz suffix because the related MIME type say nothing to this suffix.  So the solution should be:  fix your application.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-2 00:39 , Processed in 0.039809 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表