Any good tool for browsing archives(Ear,War, Jar) on OSX

Thibaut Colar picture Thibaut Colar · Jun 8, 2011 · Viewed 50.4k times · Source

On Linux i can use file-roller and open an browse the content of an EAR file without manually open it, can even dig into contained WAR file and within that JAR files quickly.

This is another of those must have tools I'm missing on OSX (along with meld).

Any good tools that can do this ?

Update: I found a tool that fits my needs : http://www.zipeg.com/

Honorable mention to midnight commander (MC) - but it's command line (but very fast) as well as newer versions of VI (which can go into zipped files)

Answer

Pavel picture Pavel · Jun 8, 2011

Any OS X ZIP utility that can open files without unpacking them will do. Alternatively, open a terminal window and type:

jar tvf <filename.jar>

You can drag the file from Finder to the Terminal window, and it will populate the filename for you. You can also pipe the output into less to scroll up and down.

jar tvf <filename.jar> | less