Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

Unpack a war file to a destination folder without verbose output

Writer Andrew Henderson

i need to extract a war file with unzip without verbose output

i am doing it like this -

unzip myFile.war -d /home/app/

but this creates verbose output. How can i prevent that ?

1 Answer

You can unzip quietly, just use the -qq option (see 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.

Your command becomes:

unzip -qq myFile.war -d /home/app/

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy