Last active
February 11, 2016 20:34
-
-
Save thomashartm/a02762f8bc1a802a3483 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# first argument: file | |
# second argument: searchstring | |
# | |
find "$1" -name "*.jar" -exec sh -c 'jar -tf {}|grep -H --label {} '$2'' \; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment