Hi i need to delete all the log4j jars which is under webapps folder inside .war files recursively. Say webapps/ has 10 .war files and it has .jar files i need to delete .jar from .war with a single command. I know how to delete jar inside war but I don't want to run 10 times to delete jar file.
> zip -d <SOME_FILE>.war <log4j>.jar
this deletes 1 log4j jar from .war need to perform on 10 war files.