Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Extract several of jar in one command

I have folders with lots (20) of jar files. Is there a way to extract all those jars in one command in the terminal instead doing it one by one? I'm using a MAC.


1 Answers

A simple solution.- Get all the jars and extract it

find ./ -name "*.jar" -exec jar -xf {} \;
like image 93
nagendra547 Avatar answered Oct 14 '25 12:10

nagendra547



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!