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

Popular posts from this blog

How to get Active Transactions and Locks from MySQL

Example of a PAC file