Is there a way to extract a jar file to a specific directory? For instance, I'm in foo directory, which contains the subfolder bar; all my jars files are at the same level at bar. So I passed the command jar xf my.jar -C bar/
However when I went to bar folder, the files were not extracted. Is there a way for me to do it without having to move the jar file to bar?
Thanks