Created
October 8, 2015 18:32
-
-
Save gkhays/916adffbed5cd462795b to your computer and use it in GitHub Desktop.
List all the JAR files being used in a project or installation.
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 | |
# Find all the JARs starting here and print them out. | |
find . -name *.jar -print > audit.txt | |
# Strip out the path and sort. | |
find . -name *.jar -exec basename {} \; | sort -u > audit-nopath.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment