将War文件解压缩到目标文件夹,而没有详细的输出


Answers:


55

您可以使用-qq选项安静地解压缩(请参阅参考资料man unzip

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

您的命令将变为:

unzip -qq myFile.war -d /home/app/
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.