Skip to content

Instantly share code, notes, and snippets.

@leogomes
Created October 13, 2010 14:30
Show Gist options
  • Save leogomes/624132 to your computer and use it in GitHub Desktop.
Save leogomes/624132 to your computer and use it in GitHub Desktop.
# find things in a jar
# taken from http://www.unix.com/shell-programming-scripting/21551-jar-file-search.html
find . -name \*jar -print -exec jar -tvf {} \; | nawk '/YOURSEARCHSTRING/ || /jar/ {print} '
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment