A
A
Alexander Nazarov2017-08-17 22:14:51
linux
Alexander Nazarov, 2017-08-17 22:14:51

How to check if a directory exists in a .jar file on Linux?

For example, I have a start.jar file, in this file there is a main/class/start directory.
I need to check if this directory exists in a .jar file. Are there ways?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-08-17
@wergio

jar tf start.jar | grep main/class/start

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question