I wanted to extract one of my cans to the specified directory using the jar command-line utility.
If I understand this right -C , the option should be a trick, but when I try
jar xvf myJar.jar -C ./directoryToExtractTo
I get usage information from my jar utility, so I am doing something wrong.
I want to achieve the goal using jar or I need to manually move my jar and call there
jar xvf myJar.jar
java command jar
Andna Apr 05 '13 at 9:56 on 2013-04-05 09:56
source share