
Necesito extraer un archivo war unzip
sin salida detallada
lo estoy haciendo así -
unzip myFile.war -d /home/app/
pero esto crea una salida detallada. ¿Cómo puedo evitar eso?
Respuesta1
Puedes descomprimirlo silenciosamente, solo usa 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/