Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Portable java solution for zipping/unzipping

I'm looking for a simple package that I may simply call from command line (i.e. batch script) that can mostly replace the functionality of zip/unzip tools in Linux. Ideally, I'd be able to deploy the application (.jar file) to any machine that runs Java, tell it what to unzip and it does it's thing. This seems like it should be fairly simple and I don't want to re-invent the wheel, but I can't seem to find something like this. Thanks for any help!

like image 468
Max Feldkamp Avatar asked Apr 09 '26 09:04

Max Feldkamp


1 Answers

I don't know a ready tool, but you could easily (a single class probably) write your own unzip tool in Java using the classes from java.util.zip, e.g. the ZipFile class.

like image 148
Philipp Wendler Avatar answered Apr 10 '26 21:04

Philipp Wendler



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!