Skip to content

Instantly share code, notes, and snippets.

@dserodio
Created March 2, 2016 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dserodio/7a3e4cc686e013296785 to your computer and use it in GitHub Desktop.
Save dserodio/7a3e4cc686e013296785 to your computer and use it in GitHub Desktop.
Find HTML files named *.jar (to find broken JARs downloaded from codehaus.org)
find ~/.m2/repository -name '*.jar' -exec sh -c "file {} | grep -q HTML && echo {}" \; | tee ~/broken-jars.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment