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

Comments

Popular posts from this blog

Check MySQL query history from command line

Installing chocolatey on Windows