Shell script to identify duplicate Java classes.
mkdir -p expanded
unzip path/to/my/i88ca.jar -d expanded
find ./expanded/lib -name '*.jar' | xargs -n1 zipinfo -1 | grep '.*.class' | sort | uniq -c | sort
mkdir -p expanded
unzip path/to/my/i88ca.jar -d expanded
find ./expanded/lib -name '*.jar' | xargs -n1 zipinfo -1 | grep '.*.class' | sort | uniq -c | sort
Comments
Post a Comment