我从客户端收到了一个巨大的 .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) 我尝试解压缩 zip 文件,但出现错误:
$ unzip COCR2_100.zip
Archive: COCR2_100.zip
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: COCR2_100.zip may be a plain executable, not an archive
unzip: cannot find zipfile directory in one of COCR2_100.zip or
COCR2_100.zip.zip, and cannot find COCR2_100.zip.ZIP, period.
Run Code Online (Sandbox Code Playgroud)
我用谷歌搜索但没有找到解决方案。我想知道为什么会这样以及我应该如何解决它?谢谢!
zip 文件可以从COCR2_100下载。这是一个应用程序,这里是它的网站http://users.belgacom.net/chardic/cocr2.html …
我是 ubuntu 的新手。我希望有人向我解释如何使用 sudo 命令解压缩和安装 .tar.gz 文件。
解压缩文件时出现此错误 如何解压缩
c0mrad3@dinp:~/output/zip$ unzip 00000018.zip
Archive: 00000018.zip
skipping: secret.txt need PK compat. v5.1 (can do v4.6)
Run Code Online (Sandbox Code Playgroud) 我需要提取一个unzip没有详细输出的战争文件
我是这样做的 -
unzip myFile.war -d /home/app/
但这会产生冗长的输出。我怎样才能防止这种情况?
我有 348 个 zip 文件,我想在其中一个 zip 文件中找到一个文件,unzip -l它不能使用通配符吗?
如何列出所有.zip文件的内容以及grep包含在 zip 中的所有文件的合并列表?
我需要将 Ubuntu 中的 .zip 文件拆分为 .z01、.z02 等……以便我将它们重新加入 Windows。
我无权访问 Windows 中的命令提示符。我现在如何解压缩文件?
试图解压缩文件,所以我尝试以下命令对不起,我对 linux 真的很陌生
顺便说一句,这是 Ubuntu 服务器的最新版本。
user@serverubuntu:~/minecraft/server$ ls
rtk.zip
user@serverubuntu:~/minecraft/server$ sudo unzip rtk.zip
sudo: unzip: command not found
user@serverubuntu:~/minecraft/server$
Run Code Online (Sandbox Code Playgroud)
当我在没有 sudo 的情况下尝试时,我得到了这个
user@serverubuntu:~/minecraft/server$ unzip rtk.zip
Sorry, command-not-found has crashed! Please file a bug report at:
https://bugs.launchpad.net/command-not-found/+filebug
Please include the following information with the report:
command-not-found version: 0.3
Python version: 3.2.3 final 0
Distributor ID: Ubuntu
Description: Ubuntu 12.10
Release: 12.10
Codename: quantal
Exception information:
unsupported locale setting
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/CommandNotFound/util.py", line 24, incrash_guard
callback()
File "/usr/lib/command-not-found", …Run Code Online (Sandbox Code Playgroud) 我不认为我是唯一一个遇到这个问题的人,但不幸的是,我无法在之前提出的问题之间找到正确的答案。
这是 Torrent 站点上的一个非常常见的过程,其中内容被分成许多小档案。有时,那些小的索引 zip 档案里面包含另一个 rar 档案。
所以,我的问题是:你如何处理这个问题?你如何递归解压这些文件?
好的,我需要提取一个名为“example.zip”的 zip 存档,但我想将其提取为不同的文件名,而不是“example”作为我的文件夹名称,我如何使用名为“example.zip”的解压缩来提取 zip 存档' 并将其提取为文件夹名称 'examplefold'