How can I extract a .war file with Linux command prompt?
How can I extract a .war file with Linux command prompt?
Extracting a specific folder (directory) within war file:
# unzip <war file> '<folder to extract/*>' -d <destination path>
unzip app##123.war 'some-dir/*' -d extracted/
You get ./extracted/some-dir/ as a result.