java - JAR - extracting specific files -
i have .class , .java files in jar archive. there way extract .java files it? i've tried command doesn't work:
jar xf jar-file.jar *.java 
you can use unzip command accepts wildcards in arguments (which not case of jar command). should trick ( disclaimer : not tested)
unzip youfile.jar "*.java" 
Comments
Post a Comment