You have got a directory and subdirectories full of jar/zip files and you would like to know which one contains the requested “Message” class … and avoid decompiling everything…
for i in `find . -name "*.jar"; find . -name "*.zip"`; do r=`jar -tvf $i | grep "Message"`; if [ "$r" != "" ]; then echo "Class found in $i"; else echo "Not found in $i"; fi; done |
Thank you Gabriel…
You’re welcome !
What plugin or name convention do you use in wordpress to display bash code with syntax highlighted ?