intoolswetrust / jd-cli

Command line Java Decompiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Option to output each JAR to a specific folder

pmorange opened this issue · comments

Hi,
It would be great to have an option so that :
myJar.jar
myOtherJar.jar
another.jar

would be decompiled in the specified output dir :
./myJar/[myJar decompiled sources]
./myOtherJar/[myOtherJar decompiled sources]
./another/[another decompiled sources]

Instead of having everything mixed in the output folder.

An easy way of achieving it would be to do in Bash:
for i in ls *.jar; do echo $i; java -jar jd-cli.jar -od ./src/${i}SRC/ $i; done
But a direct option of the program would be nicer :-)