Skip to content

Instantly share code, notes, and snippets.

@wpik
Created May 20, 2020 14:25
Show Gist options
  • Save wpik/1618cd2cbd5104a038c00ee4e4fb3103 to your computer and use it in GitHub Desktop.
Save wpik/1618cd2cbd5104a038c00ee4e4fb3103 to your computer and use it in GitHub Desktop.
Find with two commands on each file
find . -name \*.jar -print | xargs sh -c 'for arg do echo "$arg"; jar -tf "$arg" | grep javax.annotation; done' _
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment