List jar file content using command line utils
Using jar
utility
-
t
for list -
v
for verbose -
f
for Sets the file specified by the jarfile operand
λ ~/ jar tvf example-0.1.0-SNAPSHOT.jar
0 Mon Nov 10 22:27:44 IST 2014 public/
0 Mon Nov 10 22:54:10 IST 2014 public/js/
107 Mon Nov 10 22:43:08 IST 2014 public/js/c.js
λ ~/ jar tf example-0.1.0-SNAPSHOT.jar
public/
public/video.html
public/js/
public/js/c.js
Using unzip
utility
-
l
for list -
v
for verbose
λ ~/ unzip -lv example-0.1.0-SNAPSHOT.jar
0 Defl:N 2 0% 2014-11-10 22:27 00000000 public/
0 Defl:N 2 0% 2014-11-10 22:54 00000000 public/js/
107 Defl:N 106 1% 2014-11-10 22:43 db653747 public/js/c.js
Using vim
!!!
vim example-0.1.0-SNAPSHOT.jar
Written by Michael Rubanov
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Shell
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#