Unix 系统(“unzip archive.zip”)静默提取 Zip 文件

Ade*_*nde 29 linux zip php webserver php5

如何在不显示状态的情况下静默提取文件?

Ipo*_*cer 47

男人解压:

   -q     perform  operations  quietly  (-qq  = even quieter).  Ordinarily
          unzip prints the names of the files it's extracting or  testing,
          the extraction methods, any file or zipfile comments that may be
          stored in the archive, and possibly a summary when finished with
          each  archive.   The -q[q] options suppress the printing of some
          or all of these messages.
Run Code Online (Sandbox Code Playgroud)


Art*_*mis 7

解压缩手册页

-q

安静地执行操作(-qq = 更安静)。通常unzip 会打印它正在提取或测试的文件的名称、提取方法、可能存储在存档中的任何文件或 zipfile 注释,以及可能在每个存档完成时的摘要。所述-q [ q ]选项抑制的一些或所有这些消息的打印。

unzip -qq yourfile.zip确实如此。

  • 抱歉,当我开始打字时并没有。 (2认同)