Descomprima un archivo war en una carpeta de destino sin salida detallada


35

Necesito extraer un archivo war unzipsin salida detallada

lo estoy haciendo así

unzip myFile.war -d /home/app/

pero esto crea resultados detallados. ¿Cómo puedo evitar eso?

Respuestas:


55

Puede descomprimir en silencio, solo use la opción -qq (ver 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.

Tu comando se convierte en:

unzip -qq myFile.war -d /home/app/
Al usar nuestro sitio, usted reconoce que ha leído y comprende nuestra Política de Cookies y Política de Privacidad.
Licensed under cc by-sa 3.0 with attribution required.