java - extracting portion of jar to a path -


i using follwing command , intention extract dyedistinctappserver.topology discovery1-full-8.1.0-07-10-2010_1055.jar @ data/product/template-topologies/dyedistinctappserver.topology path.

command:

jar -xf discovery1-full-8.1.0-07-10-2010_1055.jar -c data/product/template-topologies/dyedistinctappserver.topology 

instead of extracting files, prompts me using command incorrectly , dumps out various options.

is there syntax error shown in usage part. using aix os.

thanks.

the option -c set directory in jar should run, not paths in jar file. try:

jar -xf discovery1-full-8.1.0-07-10-2010_1055.jar data/product/template-topologies/dyedistinctappserver.topology 

Comments

Popular posts from this blog

silverlight - Applying a style to ItemContainerStyle in C# -

c# - NullReferenceException in MySqlClient.NativeDriver -

php - Updating recent updates - Problem in procedure - Any other approach? -