Skip to content

Instantly share code, notes, and snippets.

@cfeduke
Created January 28, 2015 13:40
Show Gist options
  • Save cfeduke/fe63b12ab07f87e76b38 to your computer and use it in GitHub Desktop.
Save cfeduke/fe63b12ab07f87e76b38 to your computer and use it in GitHub Desktop.
find-java-class
find-java-class () {
find . -name '*.jar' -type f -exec sh -c "jar -tf {} | grep -H --label {} \"$1\.class$\"" \;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment