#!/bin/sh
JARDIR=$1
CLASS=$2
echo "Looking for class name `$CLASS` in directory $JARDIR"
for i in `find $JARDIR -name "*jar"`
do
echo "Looking in $i ..."
jar tvf $i | grep $CLASS
done
Create an alias
alias findinjars='~/poconnell/tools/scripts/findinjars.sh'