Skip to content

Instantly share code, notes, and snippets.

@jhare
Created March 26, 2019 19:11
Show Gist options
  • Select an option

  • Save jhare/c230dedae561e0431bca74398472bf40 to your computer and use it in GitHub Desktop.

Select an option

Save jhare/c230dedae561e0431bca74398472bf40 to your computer and use it in GitHub Desktop.
looking inside all jars in dir
#!/bin/bash
# usage: jarlook [targetdir]
# ./jarlook ./lonewolf_ml_caremanagement/ | grep -i 'somefile'
for f in $1/*.jar
do
echo "Processing $f"
unzip -v $f
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment