Linux

Unix 系統(“unzip archive.zip”) 靜默解壓 Zip 文件

  • April 6, 2019

如何靜默提取文件而不顯示狀態?

人解壓:

  -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.

解壓縮手冊頁

-q

安靜地執行操作(-qq = 更安靜)。通常unzip會列印它正在提取或測試的文件的名稱、提取方法、可能儲存在存檔中的任何文件或 zipfile 註釋,以及每個存檔完成時可能的摘要。-q [ q ] 選項禁止列印部分或全部這些消息。

就是unzip -qq yourfile.zip這樣。

引用自:https://unix.stackexchange.com/questions/337877