相关疑难解决方法(0)

解压/提取 .tar.gz 文件需要什么命令?

我从客户端收到了一个巨大的 .tar.gz 文件,其中包含大约 800 mb 的图像文件(未压缩时)。我们托管公司的 ftp 非常慢,因此在本地提取所有文件并通过 ftp 发送它们是不切实际的。我能够将 .tar.gz 文件 ftp 到我们的托管站点,但是当我 ssh 进入我的目录并尝试使用 unzip 时,它给了我这个错误:

[esthers@clients locations]$ unzip community_images.tar.gz
Archive:  community_images.tar.gz
  End-of-central-directory signature not found.  Either this file is not a zipfile, or it constitutes one disk of a multi-part archive.  In the latter case the central directory and zipfile comment will be found on the last disk(s) of this archive.
note:  community_images.tar.gz may be a plain executable, not an archive
unzip:  cannot find zipfile directory in …
Run Code Online (Sandbox Code Playgroud)

gzip compression extract unzip tar

983
推荐指数
5
解决办法
307万
查看次数

标签 统计

compression ×1

extract ×1

gzip ×1

tar ×1

unzip ×1